Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Extracting JPEG thumbnails

adi_shavit
Beginner
379 Views
Hi,

I have an application that needs to parse thousands of JPEGs as quickly as possible. From these JPEGs all I need is the EXIF thumbnail (a 160x120 image).

I was looking at the IPP JPEG library and samples, and it all seems very complex with lots of initialization that are relevant for decompressing the whole image.

Could anyone give me a small example as to how I can extract the thumbnail into my own 160x120 8u3C image buffer?

Note: the thumbnail itself is also compressed in JPEG so I need to decompress that into my raw pixel buffer.

Thanks a lot!!!
Adi
0 Kudos
2 Replies
adi_shavit
Beginner
379 Views
Any thoughts?
0 Kudos
Vladimir_Dudnik
Employee
379 Views
Hi,
in the coming IPP v5.0 beta we will provide modified JPEGView sample wich will demonstrate hot you can extract Exif meta data segemnt from JPEG bitstream and hot you can parse it to obtain particula values like Manufacturer name or thumbnails buffer. It will be also able to decode and show Exif thumbnails in preview window.
Regards,
Vladimir
0 Kudos
Reply