Skip to content

Added crop area feature

Compare
Choose a tag to compare
@bitbank2 bitbank2 released this 16 Jun 12:18
· 10 commits to master since this release

This release adds the ability to specify a cropped area for decoding. This can save significant time and memory if your program only needs to decode a sub-region of an image. The crop area must be along MCU boundaries and if set incorrectly, the area will be corrected. Two new methods were added:

setCropArea()
getCropArea()

These are documented in the Wiki