Re: GraphicsMagick 1.0 Released

Bob Friesenhahn <[email protected]> Wed, 7 May 2003 20:48:49 -0500 (CDT)
Newsgroups gmane.comp.video.image-magick.user,gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Wed, 7 May 2003, Ron Savage wrote:

> On Tue, 6 May 2003 00:00:07 -0500 (CDT), Bob Friesenhahn wrote:
>
> >We are happy to announce the release of GraphicsMagick 1.0.  It has
>
> I've run a series of tests on this package, under Win2K:

Thanks for running your tests.

> 5) I can't get $image -> Transparent(color => 'cyan') to work. I take
> this to mean anything drawn in cyan should be transparent, ie have
> the bkg showing thru. A bit worse than minor.

It seems to me that there is an ordering problem with your script in
that it is setting cyan pixels to transparent before any cyan pixels
exist in the image.  I don't see how ImageMagick would work
any differently than GraphicsMagick for this condition.  Invoking
Transparent just before invoking Write should result in transparent
cyan pixels.  I don't believe you have found a bug.

Does

 gm convert -size 400x400 +antialias 'xc:red' -draw 'fill cyan
   rectangle 50,50 350,350 font-size 20 font Arial text 150,380 Transparent'
   -transparent cyan output.png

not produce the correct result (attached) for you?

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users
transparent.png (image/png, 1.8 KB) - not displayed