From f6d899696882ef68b560be02662241a55a327445 Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Thu, 24 Nov 2022 03:41:37 +0400 Subject: [PATCH] engine: common: imagelib: added missed BMP compression type macros --- engine/common/imagelib/img_bmp.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/engine/common/imagelib/img_bmp.h b/engine/common/imagelib/img_bmp.h index a5728eeb..baed6380 100644 --- a/engine/common/imagelib/img_bmp.h +++ b/engine/common/imagelib/img_bmp.h @@ -25,7 +25,12 @@ GNU General Public License for more details. #define BI_FILE_HEADER_SIZE 14 #define BI_SIZE 40 // size of bitmap info header. #if !defined(BI_RGB) -#define BI_RGB 0 // uncompressed RGB bitmap(defined in wingdi.h) +#define BI_RGB 0 // uncompressed RGB bitmap (defined in wingdi.h) +#define BI_RLE8 1 +#define BI_RLE4 2 +#define BI_BITFIELDS 3 +#define BI_JPEG 4 +#define BI_PNG 5 #endif #pragma pack( push, 1 )