- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, this is Naoki Moriuchi from Japan.
I think your problem is caused by IJL_DIB_PAD_BYTES macro.
Please try the following code for DIBPadBytes.
----------------------------------------------------------------------------------
int bitmap_width = ((jcprops.DIBWidth * 8 + 31) / 32) * 4;
jcprops.DIBPadBytes = (bitmap_width - jcprops.DIBWidth) * jcprops.DIBChannels;
----------------------------------------------------------------------------------
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Naoki,
in what circumstances you found IJL_DIB_PAD_BYTES macro does not work correctly?
Regards,
Vladimir
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