Bodmer / JPEGDecoder

A JPEG decoder library
Other
220 stars 64 forks source link

MCU size of 8 x 8 not decoded correctly #11

Closed Bodmer closed 7 years ago

Bodmer commented 7 years ago

If the encoded jpeg has an MCU size of 8x8 then the file is rendered incorrectly.

The work-around is to always use jpeg files encoded with a 16x16 MCU size.

This is a bug I have not been able to track down, if anyone figures it out then let me know!

Bodmer commented 7 years ago

Fixed by making a change to picojpeg.c

Bodmer commented 7 years ago

Ah, this fix has introduced a new problem for 8x8 MCU blocks. Needs more thought!

Bodmer commented 7 years ago

Got the bug nailed this time!

Fixed in version 1.7.7