Here are the modifications made for this update:

1. Now the library is licensed under a MPL/GPL/LGPL tri-license (not only LGPL);
2. Memory leak has been fixed in this version;
3. It was indeed identified that this decoder is not able to decode some kind of jpeg files; comes from original jpegdec code, not our Delphi conversion; in such cases, the original libjpeg library (i.e. default jpeg unit) must be used instead.

Source code is available from

If I've time these days, I'll try to adapt the x86 SIMD extension for IJG JPEG library version (from MIYASAKA Masaru) into a pure Delphi unit. This version seems more compatible, but a bit more tricky to adapt as a Delphi unit. Stay tuned!