Hi,

>Say, I have one image which may or may not have a
>profile attached to it. If the profile is an embedded
>one, I know read_icc_profile does the work, but what
>if it's not an embedded. Is there any way to find out
>what (non-embedded) profile the image has? Is it
>possible an image not to have a profile at all? In
>that case how do I attach a profile to that image?

If the image have no embedded profile, then you know 
nothing about which colorspace the image is in. 
So, at that point, you cannot characterize the image.
For such images, you can use a "generic" profile, like 
sRGB.

>jpegicc is using cmsCreate_sRGBProfile if a null input
>profile is being passed, can I reasonably assume the
>sRGBProfile as the defaut profile if an image doesn't
>have one?

Yes. sRGB works fine most times. It assumes the image
is in same space than average monitor.

Regards,
Marti.


----- Original Message ----- 
From: "Zeenath Ahmmad" <[EMAIL PROTECTED]>
To: "Marti Maria" <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 12:03 PM
Subject: Re: [Lcms-user] NULL InputProfile


Hi Marti Maria,

Thanks for the reply.

Let me try to explain it a little more.

As you said I need both Input profile and Output
profile for a color transform. I know what has to be
the out put profile. The issue is input profile.

Say, I have one image which may or may not have a
profile attached to it. If the profile is an embedded
one, I know read_icc_profile does the work, but what
if it's not an embedded. Is there any way to find out
what (non-embedded) profile the image has? Is it
possible an image not to have a profile at all? In
that case how do I attach a profile to that image?

jpegicc is using cmsCreate_sRGBProfile if a null input
profile is being passed, can I reasonably assume the
sRGBProfile as the defaut profile if an image doesn't
have one?

Thanks
Las



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to