Andrew Murray

Results 761 comments of Andrew Murray

> Pillow will continue to fail but a patch is already prepared via https://github.com/google/oss-fuzz/pull/12326 That PR has now been merged into master.

#12027 has been merged

I've created https://github.com/tweepy/tweepy/pull/2205 as an alternative, starting with this commit, but falling back to `mimetypes` instead of raising an error.

I've created #8979 to resolve this.

Hmm. The change you're referring to comes from #8315. I tested the change against https://github.com/python-pillow/Pillow/blob/main/Tests/images/hopper.Lab.tif, and it works fine with this because that image specifies the tag type as UNDEFINED....

I've created #8925 If you'd like an immediate fix, I find that ```python from PIL import Image, IptcImagePlugin, TiffImagePlugin with Image.open("test_iptc_metadata.tif") as im: im.tag_v2.tagtype[TiffImagePlugin.IPTC_NAA_CHUNK] = 7 print(IptcImagePlugin.getiptcinfo(im)) ``` works.

Hi. If you just posted this so that others can find it, ok, great, thanks for contributing to the overall pool of knowledge about Pillow. If you'd like us to...

Thanks. Investigating, the size mismatch is because the header thinks the first image is (256, 256), but the first image is loaded by Pillow as (1024, 1024). Converting to a...

It sounds to me like this is just a limitation of the format, conflicting with Pillow's model - we presume that you can read the header of an image and...

Hi. The image that you have provided is an RGBA image. It has 8-bits per channel, so I think it makes perfect sense for it to be saved in 8-bit...