Re: Colorchange during jpg->webp conversion

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Tue, 16 May 2017, Przemysław Sobala wrote:

> Thanks for responding.
> I was thinking about applying ICC profile myself, as I want to create
> images for web and was about to start stripping all the additional metadata.
> Could you guide me how can I apply an ICC profile to pixels themselves
> using GraphicsMagic API?

Assuming that your original image already contains an ICC profile, you 
would need to find suitable sRGB profile (or a profile representing 
the target colorspace) and execute like like

gm convert paulina-sykut.jpg -profile SRGBSPAC.ICM paulina-sykut.webp

There are a number of sources of sRGB profiles.  Some of them appear 
to be available from the ICC directly at 
"http://www.color.org/srgbprofiles.xalter".

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.