Search code examples
c++jpegthumbnailsexif

Is there any sample code to read thumbnail from Jpeg exif header?


I am writing application using c++, in windows.

I want to get a thumbnail from jpeg, without decoding the whole image. How Can I read thumbnail from jpeg exif header? Can any one offer me a some sample code?

Many thanks!


Solution

  • Unsurprisingly the library is called libexif has win32 port, and there is sample code for reading thubnail from file