On this page... (hide)
Stack Overflow: questions tagged ‘ImageMagick’
Supported image formats
Make sure it’s early-enough in your PATH environment variable, as there is windows cmd
CONVERT -- one will have to clobber the other.
If the environment variable stops working (it was fine one minute, stopped the next) you’ll get errors like “Invalid Parameter - -monochrome”. I ended up specifying the full path to the convert.exe file until I can get it working again.
This application has failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem at C:/Perl/lib/DynaLoader.pm line 201. at C:\Program Files\requestprocessor.pl line 18
Compilation failed in require at C:\Program Files\requestprocessor.pl line 18.
BEGIN failed--compilation aborted at C:\Program Files\requestprocessor.pl line 18.
Solution: installed the Microsoft Visual C++ 2008 Redistributable:
If you want to use the
PerlMagick component, make sure that Perl is installed first.
Also, check the appropriate boxes:
post-install, you should see folders like
If you’re going to convert PDFs, you need to have GhostScript installed, as well.
wWhen processing a large document, umpteen tem files are written ... to the temp/tmp directory. If you hard-drive is near capacity and the tmp folder fills up, processing will quit unexpectedly (although all tmp files will be deleted at that point). In my case, “near” was 16Gigabytes (I was processing a 800,000 MB file).
But you can temporarily change the tmp directory to another drive, if you have one:
convert multi-page.tif single-page%03d.tif
%03d is a standard
printf formatting code
convert text:SampleSubject.eml sample.tif
This command line works for text files. Replace 200974281 with whatever you need.
Outputs a 1 bit per pixel, 200dpi, but not G4 compressed tiff. Quality is not awesome. Note the full path to convert.exe is not needed if your environment variable is working properly.
convert.exe text:200974281.txt -monochrome -type bilevel -resample 200x200 200974281.tif
Had to add the compress option to get G4s:
No comments yet.