From 33a2b464f87bbb5733f3afa73174b5010bad36da Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Thu, 16 Apr 2020 17:42:38 +0900 Subject: [PATCH] Change resize function to create rotated thumbnail Change-Id: I9e82723454d03162fc0f84cd61c4f928ed035b61 Signed-off-by: Minje Ahn --- src/thumbnail_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thumbnail_util.c b/src/thumbnail_util.c index 334105b..cf64768 100644 --- a/src/thumbnail_util.c +++ b/src/thumbnail_util.c @@ -311,7 +311,7 @@ int thumbnail_util_extract_to_file(const char *path, unsigned int width, unsigne /* If image, check support format */ if (type == THUMBNAIL_UTIL_IMAGE) { - ret = create_image_thumbnail_to_file(path, width, height, thumbnail_path); + ret = create_image_thumbnail_to_file(path, width, height, thumbnail_path, false); } else { char ext[255] = { 0 }; ret = __thumbnail_util_get_file_ext(thumbnail_path, ext, sizeof(ext)); -- 2.34.1