Andrew Murray
Andrew Murray
Similar to https://github.com/python-pillow/Pillow/pull/7669/commits/ecd3948b45ca9c4c2e8b0b3cb58fe6af9798cfa2 This changes `TestDefaultFontLeak` to test the non-TrueType default font, as it would have been doing before #7354
`load_read()` does not have a consistent signature across the plugins where it is used. For example, https://github.com/python-pillow/Pillow/blob/9923531742726419732618c6f2aef0bb8c21e259/src/PIL/JpegImagePlugin.py#L411 https://github.com/python-pillow/Pillow/blob/9923531742726419732618c6f2aef0bb8c21e259/src/PIL/XpmImagePlugin.py#L106 Neither does `load_seek()`. For example, https://github.com/python-pillow/Pillow/blob/9923531742726419732618c6f2aef0bb8c21e259/src/PIL/FtexImagePlugin.py#L105 https://github.com/python-pillow/Pillow/blob/9923531742726419732618c6f2aef0bb8c21e259/src/PIL/IcoImagePlugin.py#L342
There are a few instances where `UnidentifiedImageError` is imported from `Image` rather than `.`, and `__version__` is imported from `.` rather than `_version`. It would seem better to import items...
Resolves #7320 by adding support for reading and writing device-independent Windows 1.0 icons. http://fileformats.archiveteam.org/wiki/Windows_1.0_Icon was used as a reference for the specification. Because these images contains white, black and transparent...
Inspired by @homm's comment https://github.com/python-pillow/Pillow/pull/7260#discussion_r1254128299, when converting to LA/La/PA, this sets the two middle channels to zero. This shouldn't make any functional difference at the moment, just improving clarity, and...
Hi. In case you were interested in adding type hints in this repository, just letting you know - I recently added type hints for olefile to typeshed - https://github.com/python/typeshed/pull/11416. If...
deprecated-react-native-prop-types is now up to v4 - https://github.com/facebook/react-native-deprecated-modules/blob/main/deprecated-react-native-prop-types/CHANGELOG.md This PR upgrades the dependency from ^2.3.0.
Happy new year