Add BitDepth to TiffMetadata #2053
-
Per the discussion here: #2049
It seems like an area for possible API improvement though. Consider that different tiff frames can be different sizes too, yet a tiff loaded as an I didn't look at the implementation here, but I assume it's either the Width and Height from the first frame or the Max Width and Height from all frames. I am guessing that empirically most of the time when a consumer loads a tiff file it only has one frame, and will probably want to deal with it as one frame without thinking of the format details of tiff. When a consumer is using multiple frames deliberately, they will have access as usual to all that frame information. So along the same lines as Width and Height, I am proposing some way of exposing the BitDepth information for a tiff using the same facilities as one might use for a png file, for example (ie. exposed on the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See #1982 regarding Width and Height properties of Tiff images. As I described previously Tiff is a container format where different frames can have different bit depths. This rendered a global property functionally redundant only adding unnecessary complexity to the encoding codebase.. |
Beta Was this translation helpful? Give feedback.
See #1982 regarding Width and Height properties of Tiff images.
As I described previously Tiff is a container format where different frames can have different bit depths. This rendered a global property functionally redundant only adding unnecessary complexity to the encoding codebase..