Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Python Imaging Library (Fork)

Results 418 Pillow issues
Sort by recently updated
recently updated
newest added

Resolves #8923 #8315 replaced `im.tag.tagdata[TiffImagePlugin.IPTC_NAA_CHUNK]` with `im.tag_v2[TiffImagePlugin.IPTC_NAA_CHUNK]`, but didn't think to ask why `.tagdata` was used, rather than just `im.tag[TiffImagePlugin.IPTC_NAA_CHUNK]`. The answer would have been in this comment. https://github.com/python-pillow/Pillow/blob/58e48745cc7b6c6f7dd26a50fe68d1a82ea51562/src/PIL/IptcImagePlugin.py#L219-L220 This...

ICO and IPTC `load()` return `None` the first time processing data, leading to the following assertions failing. ```python from PIL import Image with Image.open("Tests/images/hopper.png") as im: im.save("out.ico", sizes=[(32, 32), (64,...

Hi, I have recently gone through our dependencies and their licenses, and noted that you apply the Freetype license incorrectly. Freetype is licensed under _either_ the GPL or the Freetype...

License

I searched for a solution to get a high performance shift operation with Pillow (in-place, SIMD, executed on C-level) but have not found one. It seems they all require one/multiple...

### What did you do? Generated an 800x480 BMP in memory with PIL to send to a TRMNL device (see the ticket on that side at https://github.com/usetrmnl/firmware/issues/112 .) The PIL...

BMP

### What did you do? Used `multiline_text()` with alignment set to 'justify' and anchor set to 'mm' ### What did you expect to happen? I expected the resulting text to...

PIL cannot parse XPM from clipboard, while other options are available. ### What did you do? 1. Sent a test image (Lenna.png) to myself in Telegram. 2. Selected "Copy Image"...

Linux

Resolves #8872 Looking at the [specification](https://www.xfree86.org/current/xpm.pdf), or even just looking at https://github.com/python-pillow/Pillow/blob/main/Tests/images/hopper.xpm#L50), you will see that an XPM image describes a palette with a series of keys and values, and...

Looking at SgiImagePlugin, I see that an error for the incorrect number of bands will never be raised. https://github.com/python-pillow/Pillow/blob/507fefbce4c3b8c46c6c21483d488884f1b5a8e1/src/PIL/SgiImagePlugin.py#L160-L176 Only L, RGB and RGBA modes are supported when saving. https://github.com/python-pillow/Pillow/blob/507fefbce4c3b8c46c6c21483d488884f1b5a8e1/src/PIL/SgiImagePlugin.py#L137-L139...

Testing

Resolves #8897 When justifying text, - do not justify the last line. Keep it left aligned - fix position of justified words when using middle or right anchoring - fixed...