From 126a949736fe8d2684525706e9047b39e2a095a6 Mon Sep 17 00:00:00 2001 From: Bob Friesenhahn Date: Sat, 10 Nov 2018 08:58:18 -0600 Subject: [PATCH] Change COMPRESSION_ZSTD to 50000 and COMPRESSION_WEBP to 50001. --- html/v4.0.10.html | 4 ++-- libtiff/tiff.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/v4.0.10.html b/html/v4.0.10.html index 83b72e0b..f1b6b008 100644 --- a/html/v4.0.10.html +++ b/html/v4.0.10.html @@ -144,7 +144,7 @@ information is located here: ZIP/Deflate 1m 20 s 4.9 s 419 622 336 -

Please note that COMPRESSION_ZSTD is self-assigned the id 34926 +

Please note that COMPRESSION_ZSTD is self-assigned the id 50000 by the libtiff project and is not officially registered with Adobe since Adobe's registration function is defunct.

@@ -184,7 +184,7 @@ information is located here: -

Please note that COMPRESSION_WEBP is self-assigned the id 34927 +

Please note that COMPRESSION_WEBP is self-assigned the id 50001 by the libtiff project and is not officially registered with Adobe since Adobe's registration function is defunct.

diff --git a/libtiff/tiff.h b/libtiff/tiff.h index 116ac34e..5b0a0c90 100644 --- a/libtiff/tiff.h +++ b/libtiff/tiff.h @@ -190,8 +190,8 @@ typedef enum { #define COMPRESSION_LERC 34887 /* ESRI Lerc codec: https://github.com/Esri/lerc */ /* compression codes 34887-34889 are reserved for ESRI */ #define COMPRESSION_LZMA 34925 /* LZMA2 */ -#define COMPRESSION_ZSTD 34926 /* ZSTD: WARNING not registered in Adobe-maintained registry */ -#define COMPRESSION_WEBP 34927 /* WEBP: WARNING not registered in Adobe-maintained registry */ +#define COMPRESSION_ZSTD 50000 /* ZSTD: WARNING not registered in Adobe-maintained registry */ +#define COMPRESSION_WEBP 50001 /* WEBP: WARNING not registered in Adobe-maintained registry */ #define TIFFTAG_PHOTOMETRIC 262 /* photometric interpretation */ #define PHOTOMETRIC_MINISWHITE 0 /* min value is white */ #define PHOTOMETRIC_MINISBLACK 1 /* min value is black */