summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2020-05-20 08:04:43 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2020-05-20 08:04:43 (GMT)
commit396ee48b20426e2ec340e04359c043022fbedf20 (patch)
treedc54b66d26b942207a5a60c9e53c9d1c8ada2ff3
parent59540a52a0f0f3a9452f94ae9abb5814913b7d51 (diff)
downloadlibmedia-thumbnail-tizen_5.5.zip
libmedia-thumbnail-tizen_5.5.tar.gz
libmedia-thumbnail-tizen_5.5.tar.bz2
For compatibility, delete the exif and rotate the image. Change-Id: Icdc6e650f11c2200632a793371de095583d368c2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rwxr-xr-xsrc/media-thumb-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index 1854cd1..8c0f9ea 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -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) {