Use mm_util_resize_and_rotate_P_P instead 16/233916/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200604.152628 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115536 submit/tizen_5.5/20200602.012702 submit/tizen_5.5_wearable_hotfix/20201026.184303
authorMinje Ahn <minje.ahn@samsung.com>
Wed, 20 May 2020 08:04:43 +0000 (17:04 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Wed, 20 May 2020 08:04:43 +0000 (17:04 +0900)
For compatibility, delete the exif and rotate the image.

Change-Id: Icdc6e650f11c2200632a793371de095583d368c2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/media-thumb-internal.c

index 1854cd1..8c0f9ea 100755 (executable)
@@ -74,7 +74,7 @@ int _media_thumb_general(const char *origin_path, const char *thumb_path, int th
        mm_util_color_format_e format = MM_UTIL_COLOR_NUM;
 
        if (thumb_path != NULL) {
-               err = mm_util_resize_P_P(origin_path, thumb_width, thumb_height, thumb_path);
+               err = mm_util_resize_and_rotate_P_P(origin_path, thumb_width, thumb_height, thumb_path);
        } else {
                err = mm_util_resize_P_B(origin_path, thumb_width, thumb_height, MM_UTIL_COLOR_BGRA, &img);
                if (err != MM_UTIL_ERROR_NONE) {