Rene Veerman on wrote...
| Hi.
|
| I'm using convert, and want to create 1x1 transparent PNGs on-the-fly
| and stick 'm in a cache.
|
| As parameters, i have the desired color and transparency percentage.
|
| Is there any way to have ImageMagick create me a 1x1 png based on those
| parameters?
|
Yes see color specification for ways you can specify color in IM
http://www.imagemagick.org/script/command-line-options.php?#fill
For example...
convert -size 1x1 xc:'rgba(200,100,75,.5)' pixel.png
will create a redish orange png with a 50% transparency.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Carpe Aptenodytes! (Seize the Penguins! Linux forever!)
-----------------------------------------------------------------------------
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