For compatibility, delete the exif and rotate the image.
Change-Id: Icdc6e650f11c2200632a793371de095583d368c2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
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) {