Hi,

still dont see it:
& jpegicc -v v4YCCRGB_Upper_Right.jpg out.jpg
v4YCCRGB_Upper_Right.jpg(sRGB) -> out.jpg(sRGB) [perceptual] (embedded 
profile found)

Yes, I use version 1.14 of lcms and the cmsTakeProductDesc function.
Should I explicitely test for the mluc tag?

like:
      if (hProfile) {
        gimp_image_set_icc_profile_by_mem (image_ID, Len, Buffer);
        if (cmsIsTag(hProfile, icSigProfileDescriptionTag)) {
          char*  text = calloc(sizeof(char), 1024);
          cmsReadICCText(hProfile,icSigProfileDescriptionTag,text);
          printf ("icSigProfileDescriptionTag: %s\n",text);
        }
        printf("1 %s||",cmsTakeProductName(hProfile));
        printf("2 %s||",cmsTakeProductDesc(hProfile));
        printf("3 %s||",cmsTakeProductInfo(hProfile));
        printf("4 %s||",cmsTakeManufacturer(hProfile));
        printf("5 %s||",cmsTakeModel(hProfile));
      }

output:
icSigProfileDescriptionTag: 
1 ||2 ||3 

[EMAIL PROTECTED]

WhitePoint : D65 (daylight)

||4 ||5 ||

The profile is attached for testing.

thanks
Kai-Uwe Behrmann
                                + development for color management 
                                + imaging / panoramas
                                + email: [EMAIL PROTECTED]
                                + http://www.behrmann.name


Am 26.02.05, 17:59 +0100 schrieb Marti:

> 
> Hi,
> 
> > I used the color.org test html page to test lcms. CinePaint has problems 
> > to show the correct profile description (right side of the windows bar).
> > The upper images are version 4 profiles using the mluc tag to store the
> > description information. You can see it for the upper left immage in the
> > bottom left field.
> 
> Humm.. tried jpegicc with -v and the profile description comes fine. Are you
> using 1.14? Or maybe wcstombs() funtion doesn't work properly on your
> platform?
> 
> > Anyway v4 seems to work with lcms. Thanks!
> 
> Great! Thanks for let me know.
> 
> Regards
> Marti.
> 

Attachment: sYCC_8-bit.icc
Description: sYCC_8-bit.icc

Reply via email to