goto ERROR;
}
- mm_util_create_handle(&img, frame, width, height, size, MM_UTIL_IMG_FMT_RGB888);
+ mm_util_create_handle(&img, frame, width, height, size, MM_UTIL_COLOR_RGB24);
if (thumb->extract_type == THUMBNAIL_UTIL_FILE) {
ret = mm_util_resize_B_P(img, thumb->width, thumb->height, thumb->thumbnail_path);
unsigned int res_width = 0;
unsigned int res_height = 0;
size_t res_buf_size = 0;
- mm_util_magick_format res_format = MM_UTIL_IMG_FMT_NUM;
+ mm_util_color_format_e res_format = MM_UTIL_COLOR_NUM;
ret = mm_util_resize_B_B(img, thumb->width, thumb->height, &res_img);
mm_util_destroy_handle(img);
unsigned int width = 0;
unsigned int height = 0;
size_t buf_size = 0;
- mm_util_magick_format format = MM_UTIL_IMG_FMT_NUM;
+ mm_util_color_format_e format = MM_UTIL_COLOR_NUM;
- ret = mm_util_resize_P_B(thumb->path, thumb->width, thumb->height, MM_UTIL_IMG_FMT_BGRA8888, &res_img);
+ ret = mm_util_resize_P_B(thumb->path, thumb->width, thumb->height, MM_UTIL_COLOR_BGRA, &res_img);
if (ret != MM_UTIL_ERROR_NONE)
return THUMBNAIL_UTIL_ERROR_INVALID_OPERATION;