PDF to JPEG Conversion - Color Conversion Issue
Posted: 2009-05-12T09:07:27-07:00
I am attempting to convert a PDF to a JPEG image and the resulting image appears washed out (increased brighness). If I create the JPEG through Ghostscript directly, it appears correctly.
I have tried with ImageMagick-6.5.2-Q16 and ImageMagick-6.4.4-Q16 on Windows XP and Windows 2003.
Command:
convert -density 300 -verbose -profile "c:\temp\img\USWebCoatedSWOP.icc" -profile "c:\temp\img\sRGB Color Space Profile.icm" C:\temp\img\input.pdf[0] c:\temp\output.jpg
Verbose (JPEG conversion):
[ghostscript library] Files/gs/gs8.61/bin/gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r300x300" -dUseCIEColor -dFirstPage=1 -dLastPage=1 "-sOutputFile=C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA" "-fC:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-MLsxHM7v" "-fC:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-ed018zNj"C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[0] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb 0.188u 0:01
C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[1] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb 0.125u 0:01
C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[2] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb 0.078u 0:01
C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[3] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb
C:\temp\img\000000804644_BK_RS_01_01_01.pdf[0]=>C:\temp\img\000000804644_BK_RS_01_01_01.pdf PDF 1725x1716 1725x1716+0+0 16-bit DirectClass 11.32mb 0.250u 0:01
C:\temp\img\000000804644_BK_RS_01_01_01.pdf[0]=>\\usmddmdfs01\dev-users\rcapasso\pdf\output.bmp PDF 1725x1716 1725x1716+0+0 16-bit DirectClass 8.471mb 0.453u 0:01
All files used to generate the output:
https://proxy.global-aoma.com/aomapicku ... 090512.zip
I have tried with ImageMagick-6.5.2-Q16 and ImageMagick-6.4.4-Q16 on Windows XP and Windows 2003.
Command:
convert -density 300 -verbose -profile "c:\temp\img\USWebCoatedSWOP.icc" -profile "c:\temp\img\sRGB Color Space Profile.icm" C:\temp\img\input.pdf[0] c:\temp\output.jpg
Verbose (JPEG conversion):
[ghostscript library] Files/gs/gs8.61/bin/gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r300x300" -dUseCIEColor -dFirstPage=1 -dLastPage=1 "-sOutputFile=C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA" "-fC:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-MLsxHM7v" "-fC:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-ed018zNj"C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[0] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb 0.188u 0:01
C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[1] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb 0.125u 0:01
C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[2] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb 0.078u 0:01
C:/DOCUME~1/DEV~1.COR/LOCALS~1/Temp/magick-RNlLwpmA[3] BMP 1725x1716 1725x1716+0+0 8-bit PseudoClass 256c 11.32mb
C:\temp\img\000000804644_BK_RS_01_01_01.pdf[0]=>C:\temp\img\000000804644_BK_RS_01_01_01.pdf PDF 1725x1716 1725x1716+0+0 16-bit DirectClass 11.32mb 0.250u 0:01
C:\temp\img\000000804644_BK_RS_01_01_01.pdf[0]=>\\usmddmdfs01\dev-users\rcapasso\pdf\output.bmp PDF 1725x1716 1725x1716+0+0 16-bit DirectClass 8.471mb 0.453u 0:01
All files used to generate the output:
https://proxy.global-aoma.com/aomapicku ... 090512.zip