[magick-users] Background issue converting .eps to .png

zentara zentara1 at sbcglobal.net
Thu Oct 23 05:14:56 PDT 2008


On Thu, 23 Oct 2008 10:25:50 +1000
Anthony Thyssen <anthony at griffith.edu.au> wrote:

>I would really suggets you read in images before resizing them!
>that is do the operations in order.
>
>As such the first line becomes...
>
>  convert -density 160x160  lightcurve.eps   -resize 99%  \
>          -quality 100% -compress Lossles  lightcurve1.pdf
>
>However removing the -resize from the above as you were previously doing
>maybe causing the 'delegate/coder handling' aspect of IM, see
>   http://www.imagemagick.org/Usage/files/#delegates
>to completely bypass the rasterization of the image.
>
>You may be able get the equivelent result WITHOUT resizing by using
>-taint.
>
>Try this instead...
>
>   convert -density 160x160  lightcurve.eps -taint \
>           -quality 100% -compress Lossles  lightcurve1.pdf
>

Yes, taint seems to work (I don't know why :-) )

The real questions seem to be:
1. Why does it need an intermediate convert to pdf to get clean fonts and a white background?
2. Why does a direct convert to png or jpg result in a black image?

IM is very powerful but can get complicated at times. :-)

zentara


-- 
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html 


More information about the Magick-users mailing list