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?
| 
To get rid of the transparency for a single image use

   -background {color} -flatten

To do this for a series of images

   -bordercolor {color} -border 0

You can also use -composite and  -layer composite (resp) to
layer the image(s) onto another image as the background.

All four (and more) of these techniques are looked at in IM Examples
   http://imagemagick.org/Usage/

Easiest way to find them is to look up the option on the Reference Page
which points you to both the offical guide, and the best examples of
that option.

NOTE options are alphabetical, but split into two sections, operators
and settings.

   http://imagemagick.org/Usage/reference.html

  Anthony Thyssen ( Graphics Enthusiast )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    "Mr. Worf, scan that ship."     "Aye, Captain... 300 DPI?"
 -----------------------------------------------------------------------------
         IM Examples               http://www.imagemagick.org/Usage/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to