Skip to content

Commit

Permalink
older libtiff doesn't support all those compressions
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Apr 5, 2024
1 parent a611b98 commit 1e7a704
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TIFF/imtiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,16 @@ compress_values[] =
{ "jbig", COMPRESSION_JBIG },
{ "sgilog", COMPRESSION_SGILOG },
{ "sgilog24", COMPRESSION_SGILOG24 },
#ifdef COMPRESSION_LERC
{ "lerc", COMPRESSION_LERC },
#endif
{ "lzma", COMPRESSION_LZMA },
#ifdef COMPRESSION_ZSTD
{ "zstd", COMPRESSION_ZSTD },
#endif
#ifdef COMPRESSION_WEBP
{ "webp", COMPRESSION_WEBP },
#endif
};

static const int compress_value_count =
Expand Down

0 comments on commit 1e7a704

Please sign in to comment.