White background lost when upgraded imagemagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
artofsoundmusic
Posts: 10
Joined: 2013-01-26T09:43:10-07:00
Authentication code: 6789

Re: White background lost when upgraded imagemagick

Post by artofsoundmusic »

And for ghostscript as well please. ;)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: White background lost when upgraded imagemagick

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: White background lost when upgraded imagemagick

Post 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.
snibgo's IM pages: im.snibgo.com
artofsoundmusic
Posts: 10
Joined: 2013-01-26T09:43:10-07:00
Authentication code: 6789

Re: White background lost when upgraded imagemagick

Post by artofsoundmusic »

Thank you! I'll pass this along to the hosting company and see if they have some different settings.
Post Reply