Re: White background lost when upgraded imagemagick
Posted: 2013-01-27T16:16:27-07:00
And for ghostscript as well please.
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=22677
This is only a single page PDF with transparency. Can you post a multipage pdf. I had no trouble processing your single page pdf using sDEVICE=pngalpha
Code: Select all
D:\web\im>"%IMG%convert" -list configure
Path: [built-in]
Name Value
-------------------------------------------------------------------------------
NAME ImageMagick
Path: C:\Program Files (x86)\ImageMagick-6.7.9-Q16\configure.xml
Name Value
-------------------------------------------------------------------------------
CC vs10
COPYRIGHT Copyright (C) 1999-2012 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES OpenMP
HOST Windows
LIB_VERSION 0x679
LIB_VERSION_NUMBER 6,7,9,6
NAME ImageMagick
RELEASE_DATE 2012-10-01
VERSION 6.7.9
WEBSITE http://www.imagemagick.org
D:\web\im>
Code: Select all
D:\web\im>"%IMG%convert" -verbose scratch.pdf scratch.png
[ghostscript library] Files (x86)/gs/gs8.71/bin/gswin32c.exe" -q -dQUIET -dSAFER
-dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0
-dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x
72" "-sOutputFile=C:/Users/Alan/AppData/Local/Temp/magick-re-6QImK-%08d" "-fC:/
Users/Alan/AppData/Local/Temp/magick-QntSXnfH" "-fC:/Users/Alan/AppData/Local/Te
mp/magick-54bMYX2i"C:/Users/Alan/AppData/Local/Temp/magick-re-6QImK-00000001 PNG
612x793 612x793+0+0 8-bit sRGB 52.8KB 0.031u 0:00.031
scratch.pdf PDF 612x793 612x793+0+0 16-bit sRGB 52.8KB 0.000u 0:00.017
scratch.pdf=>scratch.png PDF 612x793 612x793+0+0 8-bit sRGB 155c 16.4KB 0.047u 0
:00.090