Open pfheatwole opened 4 years ago
https://github.com/shibukawa/imagesize_py/blob/5b8557e64cf7a9a24c472ede7b77967705bef6c2/imagesize.py#L74
Assuming DPI=96, converting points to pixels should be 96 / 72. SVG files using pt are wrong by a factor of 12.
96 / 72
pt
+1. Let's post a PR!
https://github.com/shibukawa/imagesize_py/blob/5b8557e64cf7a9a24c472ede7b77967705bef6c2/imagesize.py#L74
Assuming DPI=96, converting points to pixels should be
96 / 72
. SVG files usingpt
are wrong by a factor of 12.