Andrew Murray
Andrew Murray
When opening a PSD image, this PR skips reading and parsing the PSD layers until the user calls `im.layers`, `im.n_frames` or `im.is_animated`. This will improve performance, and also allow users...
Resolves #8007 https://pillow.readthedocs.io/en/stable/reference/ImageCms.html#PIL.ImageCms.buildTransform and https://pillow.readthedocs.io/en/stable/reference/ImageCms.html#PIL.ImageCms.buildProofTransform describe `inMode` and `outMode` as > String, as a valid PIL mode that the appropriate profile also supports However, "RGBA;16B", "L;16", "L;16B", "YCCA" and "YCC"...
libimagequant 4.3.1 has been released - https://github.com/ImageOptim/libimagequant/releases/tag/4.3.1
fribidi 1.0.14 has been released - https://github.com/fribidi/fribidi/releases/tag/v1.0.14
Investigating MpegImagePlugin's `_open` function, https://github.com/python-pillow/Pillow/blob/eee633cb217b201cf143d0b813e31c6ae9b08284/src/PIL/MpegImagePlugin.py#L65-L71 this is saying that MPEG images must start with `b"\x00\x00\x01\xb3"`. This is what https://en.wikipedia.org/wiki/List_of_file_signatures describes as the magic number for "MPEG-1 video and MPEG-2 video...
Helps #7965 At the moment, only modes that start with 'RGBA' can be unpacked to RGBA palettes. This does not allow for rawmodes such as 'ARGB'.
https://github.com/python-pillow/Pillow/blob/a83bc3f0389055c230557b2bb11265a64bd092e3/src/PIL/Image.py#L251 This PR populates `Image.MODES` with [other modes](https://pillow.readthedocs.io/en/stable/handbook/concepts.html#modes), apart from [BGR;15, BGR;16 and BGR;24.](https://github.com/python-pillow/Pillow/pull/7978)
Helps #2228 Rather than reading some IM and TIFF images into the "experimental" mode RGBX, load them as RGB. This idea is already employed in WebP. https://github.com/python-pillow/Pillow/blob/f8160b858aebf8b7bffdefba48735feac300a060/src/PIL/WebPImagePlugin.py#L80 This is not...