Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-27 Thread Richard Hughes
On 21 May 2010 16:20, Marti.Maria wrote: > - Use some predefined default profile > - Do you have profile for your monitor You can get both bits of data from from gnome-color-manager if you're interested. See http://projects.gnome.org/gnome-color-manager/ for project details, and http://live.gnome

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-21 Thread Marti.Maria
Hi Winfried, The color manager can help to make things easier. Please take a look on this algorithm: - Open the jpeg2000 file - Is that a 16 bit rgb image? yes: input format = TYPE_RGB_16 - Is that a 16 bit gray image? yes: input format = TYPE_GRAY_16 - Is that a 8 bits RGB image

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-20 Thread szukw000
>Marti wrote: >You are assuming that to do a color transform, both input and output >profiles have to be of same colorspace, but that's not true. For the file: file7.jp2: color-space(RGB ) profile-connection-space(XYZ ) 16-bit e-sRGB JP2 restricted (to sRGB) profile) I coded: inprof

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-20 Thread marti . maria
Hi, > My question (Does lcms2 support a 'restricted ICC Profile'?) included > another question: > If yes: how? > > Tracing gimp-2.7, I found: > > The 'restricted ICC Profile', embedded in the file, is the > src_profile, the in_profile. > > With cmsCreate_sRGBProfile() the dst_profile, the out_p

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-19 Thread marti . maria
Quoting Douglas Obrecht : > A bit of Googlin' found this: > > The Restricted ICC Method for JPEG2000 > [...] Great. Thanks. That means lcms2 fully supports those profiles. Regards Marti -- __

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-19 Thread marti . maria
Hi, I can't find any mention to restricted profiles in ICC spec. But as long as the profile adheres to the ICC spec, lcms2 can accept it. Do you have any sample of such profiles? You could also try the transicc utility. Regards Marti. Quoting szukw...@arcor.de: > I can not find a hint in the