- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
imho there is an issue with JPEG containing YCrCbA color spaces.
When such JPEG are handled by IJL, the rendered colors seems to be wrong.
the image is exagerately colored, some burned colors stains may occur.
The same JPEG file loaded with The Gimp or Adobe Photoshop give a result that looks much more natural.
I've attached an image representing the issue. Left image is OK, right image is what IJL decodes.
Conversion from YCrCbA to CYMK is done with ippiYCCK444ToCMYKLS_MCU_16s8u_P4C4R,
and conversion from CYMK to RGB is done with the following formula, derivated of the IPPI Manual page 15-17
Cyan = pDst[0];
Magenta = pDst[1];
Yellow = pDst[2];
Key = pDst[3];
R = Cyan * Key / 255;
G = Magenta * Key / 255;
B = Yellow * Key / 255;
Anyone has a clue ? I can provide the full sized source image, it's a huge JPEG file (25 megs - 4080*5440)
imho there is an issue with JPEG containing YCrCbA color spaces.
When such JPEG are handled by IJL, the rendered colors seems to be wrong.
the image is exagerately colored, some burned colors stains may occur.
The same JPEG file loaded with The Gimp or Adobe Photoshop give a result that looks much more natural.
I've attached an image representing the issue. Left image is OK, right image is what IJL decodes.
Conversion from YCrCbA to CYMK is done with ippiYCCK444ToCMYKLS_MCU_16s8u_P4C4R,
and conversion from CYMK to RGB is done with the following formula, derivated of the IPPI Manual page 15-17
Cyan = pDst[0];
Magenta = pDst[1];
Yellow = pDst[2];
Key = pDst[3];
R = Cyan * Key / 255;
G = Magenta * Key / 255;
B = Yellow * Key / 255;
Anyone has a clue ? I can provide the full sized source image, it's a huge JPEG file (25 megs - 4080*5440)
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
it would be nice if you can provide original JPEG file. By the way, could you please try the same image with other IPP JPEG samples (JPEGView or IJG optimized with IPP)?
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page