Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
17 lines
904 B
Diff
17 lines
904 B
Diff
diff -rupN --no-dereference freeimage-svn-r1909-FreeImage-trunk/Source/FreeImage/PluginTIFF.cpp freeimage-svn-r1909-FreeImage-trunk-new/Source/FreeImage/PluginTIFF.cpp
|
|
--- freeimage-svn-r1909-FreeImage-trunk/Source/FreeImage/PluginTIFF.cpp 2024-03-10 14:22:18.669574426 +0100
|
|
+++ freeimage-svn-r1909-FreeImage-trunk-new/Source/FreeImage/PluginTIFF.cpp 2024-03-10 14:22:18.673574403 +0100
|
|
@@ -1484,6 +1484,12 @@ Load(FreeImageIO *io, fi_handle handle,
|
|
(int)bitspersample, (int)samplesperpixel, (int)photometric);
|
|
throw (char*)NULL;
|
|
}
|
|
+ if (planar_config == PLANARCONFIG_SEPARATE && bitspersample < 8) {
|
|
+ FreeImage_OutputMessageProc(s_format_id,
|
|
+ "Unable to handle this format: bitspersample = 8, TIFFTAG_PLANARCONFIG = PLANARCONFIG_SEPARATE"
|
|
+ );
|
|
+ throw (char*)NULL;
|
|
+ }
|
|
|
|
// ---------------------------------------------------------------------------------
|
|
|