-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Clarify saving LZW-compressed TIFFs in the documentation #5335
Copy link
Copy link
Closed
Labels
Description
The documentation about saving TIFF images says that
Valid compression methods are: None, "tiff_ccitt", "group3", "group4", "tiff_jpeg", "tiff_adobe_deflate", "tiff_thunderscan", "tiff_deflate", "tiff_sgilog", "tiff_sgilog24", "tiff_raw_16"
However, I can create LZW-compressed TIFFs by passing a "tiff_lzw" value:
image.save("image.tif", compression="tiff_lzw")Since LZW is a commonly used compression method, I think it would be good to clarify what's going on here:
- Does it accidentally happen to work but with problems I'm not seeing?
- Is the support dependent on the user's software configuration?
- Is the value "tiff_lzw" officially supported and the fact that it isn't in the documentation is an oversight?
Reactions are currently unavailable