0
Convert images between two different formats
Choice #1: Use Linux ImageMagick tool
Use the convert command (a member of the ImageMagick suite of tools) to convert between image formats as well as
=> Resize an image
=> Blur an image
=> Crop an image
=> Despeckle an image
=> Dither an image
=> Draw on an image
=> Flip an image
=> Join an image
=> Re-sample, and much more.
Examples:
$ convert input.jpg output.png
$ convert -resize 50% input.jpg output.png
$ convert -size 360x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 -draw "text 25,60 'nixCraft'" -channel RGBA -gaussian 0x6 -fill YellowGreen -stroke RosyBrown -draw "text 20,55 'nixCraft'" nixCraft.png
Choice #2: Use ps2pdf command
Sometimes we export image to high quality 'ps' format, then we can use `ps2pdf' command to convert it to high quality PDF format.
$ ps2pdf file.ps file.pdf
Use the convert command (a member of the ImageMagick suite of tools) to convert between image formats as well as
=> Resize an image
=> Blur an image
=> Crop an image
=> Despeckle an image
=> Dither an image
=> Draw on an image
=> Flip an image
=> Join an image
=> Re-sample, and much more.
Examples:
$ convert input.jpg output.png
$ convert -resize 50% input.jpg output.png
$ convert -size 360x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 -draw "text 25,60 'nixCraft'" -channel RGBA -gaussian 0x6 -fill YellowGreen -stroke RosyBrown -draw "text 20,55 'nixCraft'" nixCraft.png
Choice #2: Use ps2pdf command
Sometimes we export image to high quality 'ps' format, then we can use `ps2pdf' command to convert it to high quality PDF format.
$ ps2pdf file.ps file.pdf
Post a Comment