Dear ImageMagick developers,

please find below a bug report I tried to send a while ago, but it got
refused because I was not subscribed to the list.  I reported it to
the Ubuntu bugtracker where it can be found at
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/262183 .
You will also find two workarounds for the problem there.  I was asked
to forward this to upstream, which I am hereby doing.  Summarizing:
when converting an eps file to png with

convert file.eps file.png

convert will choose the ps:alpha delegate, which makes the PNG
background transparent.  The behaviour was different before (white
background, as desired).  Workarounds are to specify the -alpha option
or to modify the delegates.xml file for ps:alpha.

I have just tried to reproduce the problem with the latest version of
ImageMagick (6.4.7-6), but it will not install without root
permissions in a prefix under my home directory (stops while
installing the Perl modules, presumably wants to install in
/usr/local/perl or something).  I can therefore not test it out
further on this work machine.

Looking at the delegates.xml file it appears like the bug may still be
present in the current version, depending on the chosen delegate: if
ps:color is selected then things should be OK, if ps:alpha is still
selected by default then things are presumably not OK.

Kind regards,
     Hein Zelle

--- forwarded message follows below ---

Dear ImageMagick developers,

I have found a problem with the imagemagick version used in the
latest 8.04 ubuntu distribution (Version: ImageMagick 6.3.7 02/19/08
Q16).  When trying the following:

convert file1.eps file1.png

the background of the eps file (white) is now automatically converted
to transparent.  This used to stay white, as it is rendered by gv and
other postscript viewers.  Both "convert" and "display" make the
background transparent.  I am not certain if the problem is in
imagemagick, the ghostscript interpreter or with the ubuntu 8.04
distribution: my ubuntu 7.10 install (Version: ImageMagick 6.2.4
10/02/07 Q16) does not suffer from it.   When looking at the
commandline options passed to gs, I see that the old version uses

"-sDEVICE=pnmraw"

while the new version uses

"-sDEVICE=pngalpha"

which suggests the problem may be there.  Is there a way to circumvent
this problem with an extra option?

Kind regards,

     Hein Zelle


-- 

Dr. ir. Hein Zelle
Advisor Meteorology & Oceanography

Tel:    +31 (0)527-242299
Fax:    +31 (0)527-242016
Email:  [EMAIL PROTECTED]
Web:    www.bmtargoss.com

BMT ARGOSS
P.O. Box 61, 8325 ZH Vollenhove
Voorsterweg 28, 8316 PT Marknesse
The Netherlands

----Confidentiality Notice & Disclaimer---- 

The contents of this e-mail and any attachments are intended for the
use of the mail addressee(s) shown. If you are not that person, you
are not allowed to read it, to take any action based upon it or to
copy it, forward, distribute or disclose the contents of it and you
should please delete it from your system. BMT ARGOSS does not accept
liability for any errors or omissions in the context of this e-mail or
its attachments which arise as a result of internet transmission, nor
accept liability for statements which are those of the author and
clearly not made on behalf of BMT ARGOSS.
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to