Re: Transparency not saved on OSX

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Thu, 11 May 2017, Anubhaw Arya wrote:

> Hello all,
>
> I’m trying to create a transparent gradient image as I would in ImageMagick in GraphicsMagick. The following command works for me in IM:
> convert -size 1280x720 -define gradient:direction=SouthWest gradient:'rgba(0,255,0,0.0)'-'rgba(0,255,0,1.0)' im.png
> and generates the attached output.
>
> However, if I run the same command in GM:
>                gm convert -size 1280x720 -define gradient:direction=SouthWest gradient:'rgba(0,255,0,0.0)'-'rgba(0,255,0,1.0)' gm.png
> I get the attached output. As you can see, it is a solid color.

It is not correct to use current ImageMagick options/commands with 
GraphicsMagick without verification since the programs have diverged 
over the past 15 years.

The "gradient:direction" is not supported (as far as I am aware)

It seems that the remaining problem must be with enabling the 'matte' 
flag based on the color specification, and possibly with producing the 
gradient in the opacity channel.  This would be a GraphicsMagick bug.

It would be good to create a formal bug report for this so that it is 
not forgotten.

Bob

-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.