In order to convert a PDF with 100 pages to single PNG files, I've been using the following command:
C:\Program files\ImageMagick\convert -density 150 -alpha Opaque file.pdf file.png
But that resulted in PNGs that were over-saturated. This is why I modified the command to the following one, adding the
C:\Program files\ImageMagick\convert -colorspace sRGB -density 150 -alpha Opaque file.pdf file.png
The colors look good now. However, only the first page of the PDF is converted now, all others are just dropped. Why? Is the order of the arguments wrong? I've tested different orders but none with success.
However, accessing the subsequent pages directly (via
file.pdf etc.) works. But why doesn't it convert the full document in batch anymore?
ImageMagick version info:
Version: ImageMagick 6.8.1-9 2013-01-04 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC Features: OpenMP Delegates: bzlib freetype jp2 jpeg lcms lzma ps tiff x xml zlib