Skip to content

Conversation

@radarhere
Copy link
Member

# check placable header
s = self.fp.read(44)
if s.startswith(b"\xd7\xcd\xc6\x9a\x00\x00"):
# placeable windows metafile

The header is 'placeable'. See https://learn.microsoft.com/en-us/windows/win32/api/gdiplusmetaheader/ns-gdiplusmetaheader-wmfplaceablefileheader or https://en.wikipedia.org/wiki/Windows_Metafile#WMF

@hugovk
Copy link
Member

hugovk commented Aug 5, 2025

There's an "implemetation" in docs/handbook/third-party-plugins.rst if you want to fix that at the same time.

@radarhere
Copy link
Member Author

Sure, I've updated the commit.

@hugovk hugovk changed the title Fixed typo Fix typos Aug 6, 2025
@hugovk hugovk merged commit 526415d into python-pillow:main Aug 6, 2025
49 checks passed
@radarhere radarhere deleted the typo branch August 6, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants