propertiesView: Use image dimensions from decoder

This also shows the units for SVG dimensions if not pixels.

Issue #43

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/136>
This commit is contained in:
Sophie Herold 2023-03-10 19:08:26 +01:00 • committed by Marge Bot
parent 490a46d7c4
commit 42d558d22f
9 changed files with 101 additions and 265 deletions

View file

@ -24,7 +24,6 @@ log = "0.4.17"
once_cell = "1.16.0"
pretty_env_logger = "0.4.0"
safe-transmute = "0.11.2"
svg_metadata = "0.4.3"
url = "2.3.1"
# decoders