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:
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.
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#getSupport edJpegThumbnail Sizes()
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.