Command I'm using for conversion:
Code: Select all
$ convert sample.pdf[0] -colorspace RGB -geometry 551 one.jpg
Code: Select all
$ convert sample.pdf[0] -colorspace RGB -geometry 551 one.jpg
I see several problems with this command.convert sample.pdf[0] -colorspace RGB -geometry 551 one.jpg
Code: Select all
convert -colorspace sRGB sample.pdf[0] -resize 551 one.jpg
Code: Select all
convert -colorspace sRGB /path_to_folder/CLA.pdf[1] -resize 551 /path_to_folder/two.jpg
Code: Select all
convert -colorspace sRGB CRA.pdf[1] x.jpg
Code: Select all
convert -colorspace sRGB /path_to_folder/CLA.pdf[1] -resize 551 /path_to_folder/two.jpg
Code: Select all
convert: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501.
convert: no images defined `two.jpg' @ error/convert.c/ConvertImageCommand/3187.
Code: Select all
"gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dFirstPage=2 -dLastPage=2 "-sOutputFile=/tmp/magick-7598K3T5JUVmVlOz%d" "-f/tmp/magick-7598wo_SIgJ7pa1r" "-f/tmp/magick-75985IwMJI34r7dk"
convert: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501.
convert: no images defined `two.png' @ error/convert.c/ConvertImageCommand/3187.
Code: Select all
convert -version
Code: Select all
Version: ImageMagick 6.8.9-2 Q16 x86_64 2014-06-03 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib freetype jpeg lcms tiff x zlib