From 250e9fa89889fb1206b908f431b7fc3e7fa4fd52 Mon Sep 17 00:00:00 2001 From: Flavio Perez Date: Thu, 8 Aug 2019 15:07:35 +0200 Subject: [PATCH] Added DWA method in ReadEXRImage function --- coders/exr.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/coders/exr.c b/coders/exr.c index 7a6edcef3..36033f7b8 100644 --- a/coders/exr.c +++ b/coders/exr.c @@ -227,6 +227,14 @@ static Image *ReadEXRImage(const ImageInfo *image_info,ExceptionInfo *exception) #if defined(IMF_B44A_COMPRESSION) if (compression == IMF_B44A_COMPRESSION) image->compression=B44ACompression; +#endif +#if defined(IMF_DWAA_COMPRESSION) + if (compression == IMF_DWAA_COMPRESSION) + image->compression=DwaaCompression; +#endif +#if defined(IMF_DWAB_COMPRESSION) + if (compression == IMF_DWAB_COMPRESSION) + image->compression=DwabCompression; #endif if (image_info->ping != MagickFalse) { -- 2.40.0