Re: [Lcms-user] Create ICC V2 profile

2017-04-12 Thread Terence Tay
Hi Marti, Thanks! That was easy. :-) Follow-up question: do you think an app should write V4 profiles by default and only switch to a V2 profile when the user explicitly wants the output to be backward compatible with old software? Or do you think an app should write V2 profiles by default and

Re: [Lcms-user] Create ICC V2 profile

2017-04-12 Thread Marti Maria
Hi Terence, It is easy. Just set the version to 2.0 prior saving. The library will do all necessary conversions to get a V2 compliant profile. Many V2 profiles are marked as using 3.4RegardsMartiOn 12 Apr 2017 18:29, Terence Tay wrote:Hello,I am currently using LCMS to

[Lcms-user] Create ICC V2 profile

2017-04-12 Thread Terence Tay
Hello, I am currently using LCMS to create profiles using cmsCreateRGBProfile() and by specifying the primaries, tone curve and white point. Then I use cmsSaveProfileToMem() to save this profile to an array of bytes, which is then embedded in the image format (usually JPEG or TIFF). It looks

Re: [Lcms-user] Check Out-of-gamut in Output CMYK Profile

2017-04-12 Thread Sapaico-Valera, Ricardo
Hello Marti, I really appreciate your quick reply. After I did like you suggested the Gamut Check is working. Thanks a lot, and have a great day. Best regards, Ricardo From: Marti Maria [mailto:marti.ma...@littlecms.com] Sent: Wednesday, April 12, 2017 14:29 To: Sapaico-Valera, Ricardo Cc:

Re: [Lcms-user] Check Out-of-gamut in Output CMYK Profile

2017-04-12 Thread Marti Maria
Hi, you need to use the built-in lab identity for input and the formatter would be TYPE_Lab_DBL,Then instead of sRGB, put your CMYK profile. You may alsowant to check the result with transicc.RegardsMartiOn 12 Apr 2017 10:11, "Sapaico-Valera, Ricardo" wrote: