Commit f35294ec0 for imagemagick.org
commit f35294ec0d07d8b3ad6b92df3fd7d298fe5391fa
Author: Cristy <urban-warrior@imagemagick.org>
Date: Mon Jul 27 07:55:39 2026 -0400
add WEBP compress case when writing
diff --git a/coders/tiff.c b/coders/tiff.c
index 3e751b30c..4beedc8b5 100644
--- a/coders/tiff.c
+++ b/coders/tiff.c
@@ -3712,6 +3712,13 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info,
compress_tag=COMPRESSION_PACKBITS;
break;
}
+#if defined(COMPRESSION_WEBP)
+ case WebPCompression:
+ {
+ compress_tag=COMPRESSION_WEBP;
+ break;
+ }
+#endif
case ZipCompression:
{
compress_tag=COMPRESSION_ADOBE_DEFLATE;