Page 2 of 2

Re: White background lost when upgraded imagemagick

Posted: 2013-01-27T16:16:27-07:00
by artofsoundmusic
And for ghostscript as well please. ;)

Re: White background lost when upgraded imagemagick

Posted: 2013-01-27T18:39:29-07:00
by fmw42
artofsoundmusic wrote:
The pdf can be gotten here

http://www.atlasbrass.com/scratch.pdf
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

Re: White background lost when upgraded imagemagick

Posted: 2013-01-27T20:14:39-07:00
by snibgo
As I'm on Windows, these will be different to your *nix server.

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
As multi-page PDFs are different to single page PDFS, posting your real file would help us to help you.

Re: White background lost when upgraded imagemagick

Posted: 2013-01-27T20:36:15-07:00
by artofsoundmusic
Thank you! I'll pass this along to the hosting company and see if they have some different settings.