o(╥﹏╥)oSad

WeChat cannot downloadImageMagick, but just click on the upper right corner and select open in browser or Safari!
ImageMagick

ImageMagick

Recommended for you: ImageMagick

ImageMagick (TM) is a free software for creating, editing, and compositing images. ImageMagick is a tool designed to read, write and manipulate many popular image formats, including GIF, JPEG, PNG, PDF, Image and Photo CD. Using ImageMagick, you can create animated GIFs, making this software suitable for producing images for web applications. You can also resize, rotate, sharpen, reduce colors, or add special effects to the image and save the finished work in the same or different image formats.

ImageMagick

ImageMagick function introduction

​ ​ 1.Format conversion: converting images from one format to another (such as PNG to JPEG)

​ 2. Transform: scale, rotate, crop, flip or trim the image

3. Transparency: Make part of the image transparent

​ 4.Append: add a shape or a frame to the image

5. Decoration: Add borders or frame images

​​ 6. Special Effects: Blur, Sharpen, Threshold, or Color Image Animation: Create a sequence from a GIF animated image group 7. Text & Comments: Insert text in a description or art image

​ ​ 8. Image recognition: description format and image performance

9. Comprehensive: overlapping images one after another

10. Montage: juxtaposing image thumbnails on an image canvas

11. Film Support: Commonly used digital film working methods for reading and writing images

12. Image Calculator: Apply mathematical expressions to images or image channels

13. Discrete Fourier Transform: Implementing forward and reverse DFT

14. High Dynamic Range Images: Accurately represent a wide range of intensity levels from the brightest direct sunlight to the deepest darkest shadows looking truly behind the scenes

15. Encrypt or decrypt images: convert into garbled characters and then return to normal images

16. Virtual pixel support: Convenient image pixels outside areas

17. Large image support: read, process, or write mebi and gigapixel image sizes

​ 18. Execution: ImageMagick is thread-safe, leveraging internal OpenMP algorithms and fast dual- and quad-core processor technology to provide windowing advantages

19. Heterogeneous distributed processing: Certain algorithms can perform faster on a heterogeneous platform that spans CPUs, GPUs, and other processors.

ImageMagick supported formats

ImageMagick supports at least 90 image formats:

A, ART, AVI, AVS, B, BIE, BMP, BMP2, BMP3, C, CACHE, CAPTION, CIN, CIP, CLIP, CLIPBOARD, CMYK, CMYKA, CUR, CUT, DCM, DCX, DNG, DOT, DPS, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, FAX, FITS, FPX, FRACTAL, G, G3, GIF, GIF87, GRADIENT, GRAY, HDF, HISTOGRAM, HTM, HTML, ICB, ICO, ICON, JBG, JBIG, JNG, JP2, JPC, JPEG, JPG, JPX, K, LABEL, M, M2V, MAP, MAT, MATTE, MIFF, MNG, MONO, MPC, MPEG, MPG, MSL, MTV, MVG, NULL, O, OTB, P7, PAL, PALM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PFA, PFB, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSD, PTIF, PWP, R, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, TIF, TIFF, TILE, TIM, TTC, TTF, TXT, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMFWIN32, WMZ, WPG, X, XBM, XC, XCF, XPM, XV, XWD, Y, YCbCr, YCbCrA, YUV..

ImageMagick installation instructions

1. Download the latest version of ImageMagick software installation package from Huajun Software Park. After unzipping, select the exe file according to the number of bits of your computer system and double-click to install it. In the pop-up license agreement window, select "I accept the agreement" to agree to the license agreement. You can decide whether to browse the content by yourself, click "Next" to start the installation.

ImageMagick

​​ 2. The default installation path of the software is "C:/Program Files/ImageMagick-7.0.10-Q16". It is recommended to click [Browse...] to select the installation location and click "Next" to continue the installation.Attention! The software does not support Chinese paths!

ImageMagick

3. Click [Browse...] here to select the start menu folder location, and click "Next" to continue.

ImageMagick

​​ 4. It is recommended to check additional operations such as creating desktop icons, adding application paths to the system path, installing FFmpeg, etc., and click "Next" to install.

ImageMagick

5. After confirming that the installation settings are correct, click "Install" to start the installation

ImageMagick

6. The software is being installed, please wait patiently.

ImageMagick

​​ 7. The software is installed successfully, click "Finish" to exit the installation wizard.

ImageMagick

ImageMagick usage tutorial

The original intention of convert is to convert images. It is mainly used to convert image formats. It can also perform operations such as scaling, shearing, blurring, and inverting. Format conversion:

For example, convert foo.jpg to foo.png:

ImageMagick

If we want to convert all jpg files in the directory into gif, we can use the powerful function of shell:

ImageMagick

The name of the converted gif is *.jpg.gif. This does not look natural. It doesn’t matter. We can take another step:

ImageMagick

Originally, I wanted to use basename to get the file name without a suffix when searching, so that it would not have an ugly name like .jpg.gif, but I don’t know why, but it just doesn’t work. If you know ,tell me

Or, you can also use shell script to complete the above operations:

ImageMagick

We can also use mogrify to achieve the same effect:

ImageMagick

The above command will convert all jpg files in the directory into png format.

Convert can also convert multiple photos into pdf format:

ImageMagick

It also provides a rich programming interface. For example, you can use PHP to call it and use software to generate verification code images. The effect is very good.

There is also a small tool identify, which can be used to display detailed information of an image file, such as format, resolution, size, color depth, etc. You can use it to help you.

If you are not familiar with the command line, you can also click on the image and you will find that you can also edit the image with the mouse.

ImageMagick Command Guide

Format conversion, such as converting foo.jpg to foo.png:

Convert foo.jpg foo.png

If we want to convert all jpg files in the directory into gif, we can use the powerful function of shell:

Find ./ -name "*.jpg" -exec convert {} {}.gif;

The name of the converted gif is *.jpg.gif. This does not look natural. It doesn’t matter. We can take another step:

Rename .jpg.gif .gif *.jpg.gif

You can also use shell script to complete the above operations:

for i in *.jpg

do

Convert $i `basename $i .jpg`.gif

done

We can also use mogrify to achieve the same effect:

        mogrify -format png *.jpg

The above command will convert all jpg files in the directory into png format.

Convert can also convert multiple photos into pdf format:

Convert *.jpg foo.pdf

Size scaling, for example, if we want to make a thumbnail for a normal-sized image, we can do this

Convert -resize 100x100 foo.jpg thumbnail.jpg

You can also use percentages, which is more intuitive:

Convert -resize 50%x50% foo.jpg thumbnail.jpg

Convert will automatically consider the height-to-width ratio of the image when scaling the image size, which means that the height-to-width ratio of the new image will be the same as the original image.

We can also generate thumbnails in batches:

        mogrify -sample 80x60 *.jpg

Note that this command will cover the original picture, but you can back up your picture before operation.

To add a border, add a border around a photo, you can use the -mattecolor parameter. For example, if a comrade died and we need to make a portrait with a black border for him, we can do this:

Convert -mattecolor "#000000" -frame 60x60 yourname.jpg rememberyou.png

​​​​​Among them, "#000000" is the color of the border, and the size of the border is 60x60

You can also add borders like this:

Convert -border 60x60 -bordercolor "#000000" yourname.jpg rememberyou.png

Add text to the picture

Convert -fill green -pointsize 40 -draw 'text 10,50 "charry.org"' foo.png bar.png

The above command writes charry.org in green words at a distance of 10x50 from the upper left corner of the image. If you want to specify another font, you can use the -font parameter.

​​Blur, Gaussian blur:

Convert -blur 80 foo.jpg foo.png

The -blur parameter can also be -blur 80x5. The 5 at the back represents the value of Sigma. This is an image term. I am not sure about it. In short, its value plays a key role in the blur effect.

Flip, flip up and down:

Convert -flip foo.png bar.png

Flip left and right:

Convert -flop foo.png bar.png

Invert the colors to look like a negative:

Convert -negate foo.png bar.png

Monochrome, change the picture to black and white:

                                                                                    convert -monochrome foo.png bar.png

Add noise

Convert -noise 3 foo.png bar.png

Oil painting effect, turning an ordinary picture into an oil painting

Convert -paint 4 foo.png bar.png

Rotate, rotate an image to a certain angle:

Convert -rotate 30 foo.png bar.png

The 30 above means to rotate 30 degrees to the right. If you want to rotate to the left, the degree is a negative number.

Charcoal effect, pencil drawing effect

Convert -charcoal 2 foo.png bar.png

Scattering, frosted glass effect:

Convert -spread 30 foo.png bar.png

Swirl, using the center of the picture as a reference, twists the picture to form a vortex effect:

Convert -swirl 67 foo.png bar.png

Raising effect, use -raise to create convex edges:

Convert -raise 5x5 foo.png bar.png

After execution, you will see that there will be a 5x5 edge around the photo. If you want a concave edge, just change -raise to +raise. In fact, the difference between convex and concave edges is not very big.

Show pictures

display foo.png

If you want to display multiple files, you can use wildcards

Display *.png

                    Slides

display -delay 5 *

Display an image every 5 hundredths of a second

Some shortcut keys

space(space): display the next picture

Backspace

h: horizontal flip

v: Vertical flip

/: Rotate 90 degrees clockwise

: Rotate 90 degrees counterclockwise

>: Zoom in

                                                    

F7: Blurred picture

Alt+s: Rotate the pixels in the middle of the picture

Ctrl+s: Save image as

Ctrl+d: Delete picture

​ ​ q:Exit

ImageMagick FAQ

​​​1. How does software improve the contrast of PDF?

​ 1. Use software to convert PDF to images;

$ convert 1.pdf 1.jpg

​​ 2. Use GIMP to determine the white and black thresholds;

​ 3. Use software to modify the contrast;

$ convert -level 38%,99% 1.pdf 2.pdf

​​​2. How does the software change the length and width?

By default, the width and height indicate the maximum size of the image that ultimately needs to be converted. At the same time, Convert will control the width and height of the image to ensure that the image is scaled proportionally.

For example: convert -resize 600×600 src.jpg dst.jpg

The image size of the converted dst.jpg (width is 600, and the height has been proportionally adjusted to 450).

​​​3. How does the software compare with other graphics processing libraries?

OpenCV mainly displays its implementation in the form of algorithms; that is to say, it actually provides various image processing algorithms. If a specific application is required, its algorithms need to be combined to achieve a certain function.

GraphicsMagick is known as the Swiss Army Knife of image processing. GraphicsMagick is a short and concise code, but provides a robust and efficient collection of tools and libraries to handle the reading, writing and manipulation of images.

ImageMagick mainly demonstrates its implementation in the form of applications; for example: image cutting, image fusion, image blur, image sharpening, etc.

Comparison of similar software to ImageMagick

The latest version of ImageMagick can read, convert, and write images in multiple formats. Picture cutting, color replacement, application of various effects, picture rotation, combination, text, straight lines, polygons, ellipses, curves, extension and rotation attached to pictures.

​​​ACDSeeIt provides everyone with a clear and friendly operation interface, which not only has the function of viewing pictures, but also has the function of further editing and managing pictures. At the same time, ACDSee 20 supports creating categories, adding hierarchical keywords, editing metadata and rating pictures, which can satisfy The different needs of users, so it is very good.

ImageMagick update log

The developer of GG said that there are really no bugs this time~

Huajun editor recommends:

Of course, in addition to ImageMagick, a very convenient software, our Huajun Software Park also hasView pictures on iQiyiRelated software is available for download. If you need it, please click to download and use it.

Version: 7.1.0.10 Green version | Update time: 2021-10-11

Similar recommendations

Latest updates

ImageMagick Review

  • 1st floor Huajun netizen 2021-10-15 10:26:09
    ImageMagick interface design is easy to use and has rich functions. I highly recommend it!
  • 2nd floor Huajun netizen 2021-10-22 08:09:47
    ImageMagick is not bad, the download is very fast, I give you a good review!
  • 3rd floor Huajun netizen 2022-02-25 03:18:19
    ImageMagick is comprehensive and easy to use.

Recommended products

Everyonealso likeThese:

+

This application has not passed real-name authentication and you can download it through the mobile assistant.

CancelOK