Search code examples
javaimagemagickimagemagick-convert

ImageMagick command line usage


I have an application which exports scanned pdf-documents.

Now the scanned documents are not of the highest quality. That is why I'm enhancing them with ImageMagick.

Until last version, it worked like this:

    C:\Programme\ImageMagick-6.9.3-Q8\convert.exe -enhance -colorspace gray -negate -lat 40x40+4% -contrast-stretch 0 -negate -density 300x300 "w.pdf" "x.pdf"

Now I changed to version 7.3.0-Q8, where the convert.exe is renamed to magick.exe

Same Command wont work anymore. Why?


Solution

  • From the ImageMagick forums, it seems that you have to check some checkboxes when installing ImageMagick, to get the legacy executables :

    The IM 7 for Windows installation process has a series of windows, including a load of checkboxes. About half way down one of these is wording something like "Install legacy components (convert.exe etc)". Tick this box.

    This is taken from the following topic : convert.exe missing from 7.0.1-Q16?