Skip to content

img.resolution is (0.0, 0.0), but img.size work well. #613

@668168

Description

@668168

ENV:

wand.version.VERSION: 0.6.11
windows server 2022
python 3.8.10

INPUT

from wand.image import Image
with Image(filename='images/hummingbird.jpg' ,units='pixelsperinch') as img: # 330, 252
    print(f"size: {img.size}")
    print(f"resolution: {img.resolution}")

OUTPUT

size: (330, 252)
resolution: (0.0, 0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions