Skip to content

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