Original address: http://blog.csdn.net/royal_coffee/article/details/1602933
Note: This supplement provides only Windows installation suggestions.
1. To http://www.imagemagick.org/script/download.php
Drop-down page to the bottom of the page (part of the page is the Linux&ios download area)
Start the download.
2. The installation of the downloaded Imagemagick-x.x.x-xxx-windows-dll.exe is a suggestion to install the folder outside the C:/Program files/. Also check the Update executable search path when installing, so that the system can find the location of the ImageMagick, and the other options can not be checked.
3. After the installation is complete, please go to the installation and add im_ to the Convert.exe front of the ImageMagick to become im_convert.exe. Because Windows (XP) itself already has a file called Convert.exe, it can be avoided after renaming.
4. Open the Regedit.exe, search for Convert.exe, find the [ImageMagick device record]/convert.exe log value, change it to Im_convert.exe, or delete the log value. (Should have only one AutoRun log value)
5. Use the same way as the original author, only need to modify the executive record and convert name.
Other parameters
1. Generate the thumbnail
A. Specify size
# convert-sample 80x40 input.jpg output.jpg |
B. Utilization ratio
# convert-sample 25%x25% input.jpg output.jpg |
2. Rotate the shape
Using the cotate parameters, the +90-meter rotation is 90 degrees, while the 90-meter counter-clockwise turns 90 degrees.
# convert-rotate Input.jpg output.jpg |
3. Conversion format
In the name of the file, the following example is the use of converting JPG to png
# convert Input.jpg output.png |
4. Use multiple commands at once
# convert-sample 25%x25%-spread 4/-charcoal 4 input.jpg output.jpg |
ImageMagick install under Windows (GO)