Comment 12 for bug 1376500

Revision history for this message
Florian Boucault (fboucault) wrote :

EXIF thumbnail generation is done by Android. There is a set of API to get/set the desired size of the thumbnail and also to retrieve the list of possible thumbnail sizes:

http://developer.android.com/reference/android/hardware/Camera.Parameters.html#getSupportedJpegThumbnailSizes()

However there is no guarantee that a thumbnail size with the same aspect ratio as the pictures is going to always be available. That said, the solution would be to add logic in qtubuntu-camera to use the APIs above to select the appropriate thumbnail size. For that to happen these APIs need to be exposed in libhybris first.