Coleman Nitroy on  wrote...
| Hello all,
| 
| I am having an issue clipping a file and saving with a transparent  
| background rather then a color. This is the command I run:
| 
| convert Test.psd -fill none -colorspace rgb -draw "color 0 0 reset" - 
| clip -colorspace rgb -draw "Image Copy 0,0 0,0 'Test.psd'"  
| OutputFile.png
| 
| This produces a clipped image but with a black background. I can say - 
| fill white, or -fill someOtherColor and it works great but I want a  
| transparent background. Is this possible?
| 
| Thanks in advance,
| 
| Coleman Nitroy
| [EMAIL PROTECTED]

ASIDE:  if you want the image to have transparency, you need to make
sure the transparent (matte/alpha) channel has been turned on in the
image immediateally after reading it in.

Add a  -matte operator  before the -fill setting.



  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
      We are all Kosh!          -- Ambassador Kosh,  Bablyon 5
 -----------------------------------------------------------------------------
     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