On Tue, 21 Oct 2008 12:43:05 -0400
Michael Stroh <[EMAIL PROTECTED]> wrote:

>As an example, I have an image posted 
>(www.astroh.org/image_test/lightcurve.png) 
>  which shows how the conversion ends up on my desktop. However, I am  
>able to perform the conversions from .eps to .jpg fine 
>(www.astroh.org/image_test/lightcurve.jpg) 
>  but the quality is terrible. The .eps file that I'm converting from  
>can also be found in the same folder as the other two images 
>(www.astroh.org/image_test/lightcurve.eps) 
>.
>
>I'm using simple commands like
>
>convert lightcurve.eps lightcurve.png
>
>Are there any additional things I can try to get the .png file to look  
>the way I want it to?
>
>Cheers,
>Michael Stroh

Mr. Thyssen worked out the solution in offlist emails with me.
I needed the -flatten option for the png background to be white.

Here is a copy of the solution:
##############################################
On Mon, 27 Oct 2008 15:19:29 +1000
Anthony Thyssen <[EMAIL PROTECTED]> wrote:

>| >Can you give me a link to lightcurve.eps  for me to play with?
>| 
>| It was in the OP's original email to this thread, the link is
>| 
>|  http://www.astroh.org/image_test/
>| 
>I tryed the above command on the LATEST IM and it generated a PNG
>with transparent background.  Everything was visible.
>
>Could your PNG viewer not understand transparency?
>
>If I don't want transparency I can add a   -background white -flatten
>just before the save file name.
>
>   convert  -density 288  lightcurve.eps  -resize 25% \
>            -background white -flatten  lightcurve.png
>
>
>I really dont see the need to go though a PDF image format!

You are right! Thanks. Upon testing, it is the -flatten option
that seems to do the trick for me.

convert  -density 288  lightcurve.eps  -resize 25%  -flatten lightcurve.png 

Thanks, I will post this to the original thread for the benefit of others.

zentara


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



-- 
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to