Skip to content

Added compile time option to expand maximum image width

Choose a tag to compare

@bitbank2 bitbank2 released this 19 Aug 14:51
· 13 commits to master since this release

This release adds the ability to define a larger maximum width of image. This is needed because PNGdec needs to buffer 2 complete lines of pixels and to conserve memory, this buffer was set to 320 pixels wide at 32bpp max. This change allows you to set a compile-time macro (PNG_MAX_BUFFERED_PIXELS) to any value you like.