Pillow
Pillow copied to clipboard
Python Imaging Library (Fork)
It seems the new common Mode.c library in Pillow 12.0.0 fails to build OOTB in MSYS2 LLVM based [environments](https://www.msys2.org/docs/environments/) like CLANG64/CLANGARM64: https://github.com/msys2/MINGW-packages/actions/runs/18555260796/job/52891070931?pr=25966#step:10:466 It does build in MSYS2 GCC based environments...
This is more of a nit than anything, but the problem arose in conda-forge where we still haven't gone all-in on zlib-ng. As such, we ship BOTH zlib, and zlib-ng,...
Using the freetype-py library, I can check if a glyph exists in a font like this: ```python ft_font = freetype.Face(font_path) exists = ft_font.get_char_index(0x41) != 0 ``` It'd be nice to...
https://github.com/python-pillow/Pillow/blob/33eb16bb39df3ec9b3a728d46c43790b2af817c7/src/PIL/ImageGrab.py#L54 produces a low quality image if `bbox` is given. The reason is that the screenshot for a region 100x200 is a 200x400 image on a Macbook Pro which will...
Pillow's current model of *all image formats in one package* means that Pillow's footprint will inevitably grow boundlessly. The 10.1.0 Linux wheels were ~3.5MB, 10.2.0 went up to 4.5MB then...
I need dashed lines, and it's not really on the cards for me to implement it myself outside of Pillow, because it would be much too slow. I'm [not the...
We first set up Mergify in 2020 to automerge PRs once certain conditions were met: CI has passed, PR is approved, `automerge` label added: https://github.com/python-pillow/Pillow/pull/4931. Since then, GitHub has added...
While checking for BCn overflow, `dst` is advanced by 8 bytes every loop. https://github.com/python-pillow/Pillow/blob/d07aa6fd17d356b8f09f89a5c485fc8b1532635f/src/libImaging/BcnEncode.c#L287 It is advanced by an additional 8 bytes under these conditions in the [code](https://github.com/python-pillow/Pillow/blob/d07aa6fd17d356b8f09f89a5c485fc8b1532635f/src/libImaging/BcnEncode.c#L265-L284). ```c if...