Change resize function to create rotated thumbnail 74/230974/1 accepted/tizen/unified/20200420.142657 submit/tizen/20200416.091150 submit/tizen/20200419.223245
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 16 Apr 2020 08:42:38 +0000 (17:42 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 16 Apr 2020 08:42:38 +0000 (17:42 +0900)
Change-Id: I9e82723454d03162fc0f84cd61c4f928ed035b61
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/thumbnail_util.c

index 334105b9d1807a84b9367a703bc6c28eb818742f..cf647687d527f4f80e413fc687f73289d30921e8 100644 (file)
@@ -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));