You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to use LodePNG to encode a 24 bpp 800x480 frame buffer, but my embedded board has a weird frame buffer scan line pitch: each line must have a length multiple of 128 bytes.
So each line of the frame buffer is 3*800 + 32 bytes = 2432 bytes, not even a pixel multiple.
Woule be really difficult to find enough ram to make a whole copy of that in another region to have contiguous pixels.
Is there a way to use LodePNG with unconventional pixel source formats ? Even if slower, of course.
Or just feeding a line at a time, converted in contiguous pixel form, that would do also.
The text was updated successfully, but these errors were encountered:
I'd love to use LodePNG to encode a 24 bpp 800x480 frame buffer, but my embedded board has a weird frame buffer scan line pitch: each line must have a length multiple of 128 bytes.
So each line of the frame buffer is 3*800 + 32 bytes = 2432 bytes, not even a pixel multiple.
Woule be really difficult to find enough ram to make a whole copy of that in another region to have contiguous pixels.
Is there a way to use LodePNG with unconventional pixel source formats ? Even if slower, of course.
Or just feeding a line at a time, converted in contiguous pixel form, that would do also.
The text was updated successfully, but these errors were encountered: