convert wallpaper format and size examples

January 12th, 2007 mysurface Posted in convert, gm, Graphics | Hits: 41380 | 4 Comments »

Image manipulations can be done through command lines. Most of the time, we use GUI software such as GIMP to manipulate graphics, but sometimes it is not convenient to use such huge tool to just perform some simple image manipulation such as resize. Image Magick and Graphics Magick gives us various of command line on image manipulation. In this post, I am going to show you a simple example on how to convert a image from one format to another and simultaneously resize it.

To convert from one format to another, such as png to jpg. Simple do as bellow

convert mywallpaper.png mywallpaper.jpg

For those who have install graphics magick, the equivalent line show as bellow

gm convert mywallpaper.png mywallpaper.jpg

To list all support format,

convert -list format

To resize an image, to 50% of the original image,

convert mywallpaper.png -resize 50% mywallpaper.jpg

To resize on specific resolution,

convert mywallpaper.png -resize 1024x768 mywallpaper.jpg

There are a lots more you can do, refers to for more.
1. ImageMagick: Command-line Tools
2. GraphicsMagick Image Processing

4 Responses to “convert wallpaper format and size examples”

  1. How to change the length of file to convert

  2. Hello ! I’m pretty sure that already see this content in another website, maybe another website copy your website, look on google, sorry for mistake i noramlly speak french ;-) ! Bye bye and continue like that

  3. After spending several hours online at last We have located an individual that seriously does know what they’re preaching about appreciate it a whole lot fantastic posting

  4. Thanks for the time saver!


Leave a Reply