List Info

Thread: Resized images lose embedded sRGB profile




Resized images lose embedded sRGB profile
country flaguser name
United States
2007-09-21 08:06:32
When i downscale images that have an embedded sRGB profile the profile is lost. When I do the same thing with images having different profiles like Adobe RGB the profile is not lost.

I use following command:
convert infile -filter Lanczos -geometry x1024 outfile

Why is the profile lost? Is this a bug?
I know that in some uses the sRGB profile don't have any importance, like on the web, but in my application I need the embedded profile left. Are there something that I'm missing?

Re: Resized images lose embedded sRGB profile
country flaguser name
United States
2007-09-25 22:47:33
On Fri, 21 Sep 2007, Jesper Nilsson wrote:

> When i downscale images that have an embedded sRGB
profile the 
> profile is lost. When I do the same thing with images
having 
> different profiles like Adobe RGB the profile is not
lost.

This sounds interesting.  If GraphicsMagick is somehow
actually doing 
this, then I would suspect some sort of weird bug.  I am not
aware of 
any JPEG-related code which singles out sRGB profiles
(although other 
apps may intentionally do this).  Other applications may
intentionally 
discard the sRGB profile because the sRGB specification says
that the 
default profile for JPEG shall be sRGB (in order to save
space).

Most file formats do not provide a way to attach ICM color
profiles so 
if you used some intermediate format other than one of the
few which 
do, then the profile would be silently lost.

Are you able to send me a file which causes the problem so
that I can 
try to reproduce the problem here?

Bob
======================================
Bob Friesenhahn
bfriesensimple.dallas.tx.us, http://w
ww.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMag
ick.org/


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Graphicsmagick-help mailing list
Graphicsmagick-helplists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gra
phicsmagick-help

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )