I need to decode (decompress in bitmap) a fairly small (about 1200 * 1200) JPEG. The problem is that I need to do this quickly. I tried libjpeg and it is pretty slow. I also tried BitmapFactory.decodeByteArray - it's a little faster, but still not fast enough. What other options? Most preferred is the native (C ++) library.
PS My JPEG files are created directly in memory.
PPS I wonder why libjpeg is slower than BitmapFactory.decodeByteArray.
Violet giraffe
source share