"John Smith" on  wrote...
| Thank you to everyone for their kind assistance. :-)
| 
| I have a PNG, there are parts of it which are transparent.  I want to
| basically fill that part with a specified color, however,
| 
| convert input_file.png -transparent-color #000000 output_file.png
| 
| does not work, and the out_put.png file looks the same, with the
| transparent parts unaffected.  How can this be done? :)
| 

-transparent-color  is ised to define the color used to represent
transparency in the GIF color table.  (It can be the same color as an
existing 'opaque' color without problems.

It is not using for PNG.

To remove transparency, set the -background color and  -flatten  the
image.
   http://imagemagick.org/Usage/layers/#flatten

Alturnativally  set a -bordercolor and add a '0' width -border or -frame!
   http://imagemagick.org/Usage/crop/#border


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  Please leave a wish after the tone and, very shortly it will be our command.
      - Smoke from a Magic Lamp   -- Terry Pratchett  ``Sourcery''
 -----------------------------------------------------------------------------
     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