Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wmf file to bitmap was forced to 72 dpi #4223

@FrankLiu007

Description

@FrankLiu007

What did you do?

I read in an wmf image and then save it as a png image. I found the resolution of the result image is rather low no matter how I set the quality parameters.

When I looking into the source code ( src/PIL/WmfImagePlugin.py), I found the resolution was fixed to 72dpi.

What are your OS, Python and Pillow versions?

  • OS: win10
  • Python: 3.6.8
  • Pillow: 6.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions