After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655377 - SVGZ is unsupported
SVGZ is unsupported
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: image viewer
3.0.x
Other All
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-27 01:38 UTC by Bartosz Brachaczek
Modified: 2011-07-27 12:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bartosz Brachaczek 2011-07-27 01:38:39 UTC
Hello. First, I want to note that I'm not sure if it is librsvg's thing or not. Just guessing.

The problem is that I find poor support for SVGZ format on my GNOME 3 desktop (it was the case for GNOME 2 as well), while uncompressed SVG is supported pretty well. I mean, if I try to open an SVGZ file in Eye of GNOME, it doesn't recognize file type. If I try to send a desktop notification (through notify-send) with app_icon (--icon paramater in notify-send) pointing to an SVGZ file, it doesn't display it too.

I consider it a bug since SVGZ is part of the SVG specification.
Comment 1 Christian Persch 2011-07-27 09:34:33 UTC
librsvg supports SVGZ (make sure you use the very latest librsvg release). If an application doesn't, file a bug against the application.

-> eog
Comment 2 Felix Riemann 2011-07-27 12:42:49 UTC
eog already did support compressed SVGs as long as librsvg did.
We just didn't render them natively (without generating a bitmap beforehand) yet in the last releases. Still even without this fix the compressed SVGs should have been shown (but pixelated when zoomed). So, it looks a bit like your librsvg is not installed with all features.

Note that we rely on GIO identifying a file as compressed SVG, so only .svgz is curently supported as file extension (which is also the recommended one in the standard).

commit 0773b4ef16a95eb071e9c40c173ea73bfc6ca479
Author: Felix Riemann <>
Date:   Wed Jul 27 14:30:18 2011 +0200

    Render compressed SVGs natively as well
    
    These have a different mime-type which didn't trigger the native
    renderer before and thus were rendered and pixelated using GdkPixbuf.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=655377

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Bartosz Brachaczek 2011-07-27 12:47:01 UTC
(In reply to comment #2)
> Still even without this fix the compressed SVGs
> should have been shown (but pixelated when zoomed). So, it looks a bit like
> your librsvg is not installed with all features.

Maybe. I'm using Fedora 15. Anyway, thanks a lot for taking care of my report.