You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, Pillow just does not say anything. We could ask ImageMagick about it, though.
(However, %[EXIF:PhotometricInterpretation] does not yield anything... Not sure how to get that info.)
So IMO this test should state YCbCr and fail until we fix OcrdExif.run_identify to include the results from the CLI, or we find a way to make Pillow give us the info.
BTW, using Pillow's TiffTags we can actually get the right value:
# val = img.tag_v2.named()['PhotometricInterpretation']val=img.tag_v2.get(262)
interpretation=dict((v, k) fork, vinTiffTags.TAGS_V2.get(262).enum.items())
val=interpretation[val]
(However,
%[EXIF:PhotometricInterpretation]
does not yield anything... Not sure how to get that info.)So IMO this test should state
YCbCr
and fail until we fixOcrdExif.run_identify
to include the results from the CLI, or we find a way to make Pillow give us the info.BTW, using Pillow's TiffTags we can actually get the right value:
Originally posted by @bertsky in #1276 (comment)
The text was updated successfully, but these errors were encountered: