Closed
Description
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.