Merge pull request #8306 from radarhere/tag_v2

This commit is contained in:
Hugo van Kemenade 2024-08-16 12:56:16 +03:00 committed by GitHub
commit eeb3d04843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1393,7 +1393,7 @@ class TiffImageFile(ImageFile.ImageFile):
logger.debug("- photometric_interpretation: %s", photo)
logger.debug("- planar_configuration: %s", self._planar_configuration)
logger.debug("- fill_order: %s", fillorder)
logger.debug("- YCbCr subsampling: %s", self.tag.get(YCBCRSUBSAMPLING))
logger.debug("- YCbCr subsampling: %s", self.tag_v2.get(YCBCRSUBSAMPLING))
# size
xsize = int(self.tag_v2.get(IMAGEWIDTH))