- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to encode YCbCr422(DIB) to JPEG by using IJL without converting it to 24-bits RGB image. However, the made JPEG image darkens compared with original image. Is it right ?
jCprops.DIBWidth = Wid;
jCprops.DIBHeight = Hei*(-1);
jCprops.DIBBytes = pYCbCr;
jCprops.DIBPadBytes = 0;
jCprops.DIBChannels = 3;
jCprops.DIBColor = IJL_YCBCR;
jCprops.DIBSubsampling = IJL_422; //?
jCprops.JPGFile = pJpegPath;
jCprops.JPGWidth = Wid;
jCprops.JPGHeight = Hei;
jCprops.JPGChannels = 3;
jCprops.JPGColor = IJL_YCBCR;
jCprops.JPGSubsampling = IJL_422; //?
// jCprops.JPGSubsampling = IJL_NONE; //?
jCprops.jquality = JQuality;
Is it right ?
I'm trying to encode YCbCr422(DIB) to JPEG by using IJL without converting it to 24-bits RGB image. However, the made JPEG image darkens compared with original image. Is it right ?
jCprops.DIBWidth = Wid;
jCprops.DIBHeight = Hei*(-1);
jCprops.DIBBytes = pYCbCr;
jCprops.DIBPadBytes = 0;
jCprops.DIBChannels = 3;
jCprops.DIBColor = IJL_YCBCR;
jCprops.DIBSubsampling = IJL_422; //?
jCprops.JPGFile = pJpegPath;
jCprops.JPGWidth = Wid;
jCprops.JPGHeight = Hei;
jCprops.JPGChannels = 3;
jCprops.JPGColor = IJL_YCBCR;
jCprops.JPGSubsampling = IJL_422; //?
// jCprops.JPGSubsampling = IJL_NONE; //?
jCprops.jquality = JQuality;
Is it right ?
Link Copied
1 Reply
- 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