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

### What did you do? Saving the int16 image into a PNG format previously used I mode but was changed to I;16 mode, which leads to a silent data loss....

When both a custom quantization table and a quality value are provided, the quantization table should be scaled using the JPEG quality scaling factor. If quality is not explicitly set,...

JPEG

Resolves #9006 #2856 (with 12 likes), #3781, #4887, #5227, #5465 and #5723 are all issues where the `Image.fromarray()` `mode` parameter has caused confusion. https://github.com/python-pillow/Pillow/issues/5465#issuecomment-831871276 > I think that the mode...

Deprecation

The _set method is no longer necessary, since we no longer compute any attributes from the profile. In most cases, we only set the profile, and in only one branch...

Deprecation

Resolves #8977 With each new frame that is saved to an MPO image, an offset is added https://github.com/python-pillow/Pillow/blob/086e05f42ff459747c2ceb0e8e046f4b54e4d779/src/PIL/MpoImagePlugin.py#L65-L68 leading to a longer `mpentries` https://github.com/python-pillow/Pillow/blob/086e05f42ff459747c2ceb0e8e046f4b54e4d779/src/PIL/MpoImagePlugin.py#L81 meaning the IFD becomes longer https://github.com/python-pillow/Pillow/blob/086e05f42ff459747c2ceb0e8e046f4b54e4d779/src/PIL/MpoImagePlugin.py#L85...

Fixes #8856 This removes all libavif codecs except for AOM for encoding and dav1d for decoding. It also builds libavif as a shared library on linux and macOS, which modestly...

Dependency

### What did you do? I have an `np.ndarray` with `shape=(h, w)` and `dtype=bool` that I want to convert to a `PIL.Image.Image` (and later save on disk disk, although that...

https://github.com/python-pillow/Pillow/issues/861#issuecomment-2967698512 requests that we support saving I;16L TIFF images. While there, I noticed that [`SAVE_INFO`](https://github.com/python-pillow/Pillow/blob/2e5117305b86852f3cd21fe604eb966e09ec308e/src/PIL/TiffImagePlugin.py#L1673C1-L1700) has entries for a few modes that [don't exist](https://pillow.readthedocs.io/en/stable/handbook/concepts.html#modes) - I;16S, I;32BS, I;16BS and F;32BF....

TIFF

I'm posting this 'cause of a warning I've gotten when opening icon files, and what I did to get around the warning. * OS: Windows 11 24H2 (OS Build 261000.4315)...

This reverts commit e2e40c54568236d2504921eb0b335cdab734a7d5. Fixes https://github.com/python-pillow/Pillow/pull/8954#issuecomment-2929027106 . Changes proposed in this pull request: * This reverts moving the cleanup for tiff encode into the cleanup function, as opposed to doing...

Do Not Merge
TIFF