Skip to content

Allow loading of EMF images at a given DPI #8536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 29, 2025
Merged

Conversation

radarhere
Copy link
Member

Resolves #8524

#4311 added loading WMF images at a given DPI. This extends that work to allow for EMF as well, and also allows for different X and Y DPIs.

Regarding scale, my thinking in this PR is that running im.load(im.info["dpi"]) should have the same result as the standard im.load().

@hugovk hugovk merged commit 6d42449 into python-pillow:main Mar 29, 2025
49 checks passed
@radarhere radarhere deleted the emf branch March 29, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Poor quality exports of certain WMFs/EMFs
2 participants