Skip to content

pandoc.image.size can be wrong #9871

Closed
Closed
@pagiraud

Description

@pagiraud

The data returned by the function pandoc.image.size can be wrong on some images.

Let’s take this one for instance: https://upload.wikimedia.org/wikipedia/commons/0/0b/Toronto_Skyline_Wide_2014.jpg

Its dimensions are 4 272 × 1 493 but according to pandoc.image.size they are 4272 x 2848.

That said, after exporting it back and forth to PNG Pandoc finds the correct size, so maybe its metadata problem of some sort that Pandoc can’t address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions