mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-08 06:14:45 +03:00
Fixed typo
This commit is contained in:
parent
1e76b758f6
commit
b07dbc167c
|
@ -11,7 +11,7 @@ Here is a list of PyPI projects that offer additional plugins:
|
||||||
* :pypi:`heif-image-plugin`: Simple HEIF/HEIC images plugin, based on the pyheif library.
|
* :pypi:`heif-image-plugin`: Simple HEIF/HEIC images plugin, based on the pyheif library.
|
||||||
* :pypi:`jxlpy`: Introduces reading and writing support for JPEG XL.
|
* :pypi:`jxlpy`: Introduces reading and writing support for JPEG XL.
|
||||||
* :pypi:`pillow-heif`: Python bindings to libheif for working with HEIF images.
|
* :pypi:`pillow-heif`: Python bindings to libheif for working with HEIF images.
|
||||||
* :pypi:`pillow-jpls`: Plugin for the JPEG-LS codec, based on the Charls JPEG-LS implemetation. Python bindings implemented using pybind11.
|
* :pypi:`pillow-jpls`: Plugin for the JPEG-LS codec, based on the Charls JPEG-LS implementation. Python bindings implemented using pybind11.
|
||||||
* :pypi:`pillow-jxl-plugin`: Plugin for JPEG-XL, using Rust for bindings.
|
* :pypi:`pillow-jxl-plugin`: Plugin for JPEG-XL, using Rust for bindings.
|
||||||
* :pypi:`pillow-mbm`: Adds support for KSP's proprietary MBM texture format.
|
* :pypi:`pillow-mbm`: Adds support for KSP's proprietary MBM texture format.
|
||||||
* :pypi:`pillow-svg`: Implements basic SVG read support. Supports basic paths, shapes, and text.
|
* :pypi:`pillow-svg`: Implements basic SVG read support. Supports basic paths, shapes, and text.
|
||||||
|
|
|
@ -80,7 +80,7 @@ class WmfStubImageFile(ImageFile.StubImageFile):
|
||||||
format_description = "Windows Metafile"
|
format_description = "Windows Metafile"
|
||||||
|
|
||||||
def _open(self) -> None:
|
def _open(self) -> None:
|
||||||
# check placable header
|
# check placeable header
|
||||||
s = self.fp.read(44)
|
s = self.fp.read(44)
|
||||||
|
|
||||||
if s.startswith(b"\xd7\xcd\xc6\x9a\x00\x00"):
|
if s.startswith(b"\xd7\xcd\xc6\x9a\x00\x00"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user