Sophie Herold
587599f50b
print: Render SVG for correct size
...
Closes #140
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/165 >
2023-04-18 23:52:53 +00:00
Sophie Herold
e8aa5451c3
decoder: Avoid unwraps and report issues to UI
...
Those are mostly cases that should never occur.
But especially for rare erros it can be helpful to
directly display them in the UI.
2023-04-18 17:57:41 +00:00
Sophie Herold
fad8bb7939
decoder: Use GFile instead of PathBuf
...
This allows to show images from locations that don't
have a representation with path.
This also works around not being able to read files in trash:///
Closes #56
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/174 >
2023-04-18 16:22:49 +00:00
Sophie Herold
f8cc9f5f84
i18n: Use gettext function instead of wrapper
...
No need to deviate from the default here.
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/170 >
2023-04-12 12:58:40 +00:00
Sophie Herold
65e967c235
decoder: Detect HEIC/HEIF via guessed mime type
...
This will not cover files with wrong extensions. But
we don't have a magic byte sniffer in place yet.
Issue #115
2023-04-06 21:08:10 +00:00
Sophie Herold
f33c4bd470
decoder: Support animated formats (GIF, WEBP, APNG)
...
Closes #27
2023-03-18 20:23:08 +00:00
Sophie Herold
b8d5f833f3
decoder: Cleanup and better image format detection
...
Closes #97
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/140 >
2023-03-14 03:59:21 +01:00
Sophie Herold
42d558d22f
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 >
2023-03-14 02:31:07 +00:00
Sophie Herold
a2a9b4134b
propertiesView: Use decoder format
...
Use the format that we actually used when decoding.
The mime type is usually derived from the file extension
which might not always be correct.
Issue #43
Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/132 >
2023-03-14 00:50:40 +00:00
Sophie Herold
a0ce234946
image: Limit SVG zoom to RSVG limits
...
See <https://gitlab.gnome.org/GNOME/librsvg/-/issues/938 >
for details about the problem.
Closes #88
2023-03-11 00:06:51 +00:00
Sophie Herold
f80ec7db56
decoder: Use image-rs, libheif-rs, librsvg
...
This adds proper support for a lot of image formats including SVGs.
It will be the basis for many features to come. The technical core
is an asynchronous renderer that can arrange textures in smaller tiles
which might be generated on demand.
Closes #34 , #40 , #41 , #49
Basis for fixing the following issues #7 , #27 , #36 , #43 , #68 , #71
2023-03-04 21:48:51 -05:00