python-pillow / Pillow

Python Imaging Library (Fork)
https://python-pillow.org
Other
12.32k stars 2.23k forks source link

Allow loading of EMF images at a given DPI #8536

Open radarhere opened 2 weeks ago

radarhere commented 2 weeks ago

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().