Fred Weinhaus on  wrote...
| try
| 
| convert img-rgba.png -flatten img-rgb.png
| 
| if that does not do what you want, then post a link to a correctly 
| processed version from GIMP.
| 
Fred is correct.

You need to remember that transparency can have color!!!
And PNG images can preserve that color!!!!

As proof look at Image to transparent Canvas, and the color restoration
at the end of that set of examples...
   http://imagemagick.org/Usage/canvas/#transparent

So just, junking the transparency will just restore whatever colors
are being 'hidden' by the transparency.

-flatten on the other replace the transparency with the right
'background' color, ignoring any existing 'hidden' and thus
non-contributing color that may be present.
  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
     Wecome to the Internet Scratch-It       ###  ###  ###  ###  ###  ###
     Any three matches to win!   -------->   ###  ###  ###  ###  ###  ###
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to