From 36fb9aa89dc136bfb225f8eee661b9d1c9e47210 Mon Sep 17 00:00:00 2001 From: aunsane <aunsane@gmail.com> Date: Fri, 9 Mar 2018 16:27:13 +0300 Subject: FreeImage: initialization order of internal plugins MUST pe same order as used in FREE_IMAGE_FORMAT enum (fixed #1177) --- src/mir_app/src/image_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mir_app/src/image_utils.cpp b/src/mir_app/src/image_utils.cpp index 0e1a3632e8..ee80b786ac 100644 --- a/src/mir_app/src/image_utils.cpp +++ b/src/mir_app/src/image_utils.cpp @@ -216,7 +216,7 @@ MIR_APP_DLL(int) Image_Save(const IMGSRVC_INFO *isi, int iFlags) return 0; int ret = 0; - if (fif == FIF_PNG || fif == FIF_BMP || fif == FIF_JNG) + if (fif == FIF_PNG || fif == FIF_BMP/* || fif == FIF_JNG*/) ret = FreeImage_SaveU(fif, dib, isi->pwszName, iFlags); else { FIBITMAP *dib_new = FreeImage_ConvertTo24Bits(dib); -- cgit v1.2.3