View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000298 | file | General | public | 2021-11-08 07:53 | 2021-11-14 12:12 |
Reporter | Tamaranch | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.41 | ||||
Summary | 0000298: SVGZ compressed image files created by Inkscape are identified as application/gzip | ||||
Description | Inkscape can create two types of SVGZ formats: lossy and lossless. Both are identified by `file` or `magic_file()` as application/gzip, while a library like librsvg is able to recognize them and allow their loading via gdk-pixbuf. | ||||
Steps To Reproduce | Open an SVG image file in Inkscape and save it as SVGZ. | ||||
Tags | magic | ||||
|
Can you please attach a couple of sample files? |
|
Here are three file: original (*.svg), Inkscape lossly (*_inkscape_simple.svgz), Inkscape lossless (*_inkscape.svgz). |
|
Thanks, these are just compressed files; use file -z to see what's inside. |
|
Oh right, and so the `MAGIC_COMPRESS` flag for libmagic. I was misled by the fact that the .svgz (or .svg.gz) files produced by `convert file.svg file.svgz` were recognized directly. But they are actually still SVG files in this case, unlike the files linked here. I'll try to push my tests a bit further and read the documentation better before reporting a bug next time, sorry ^^'. Thanks! |
|
No fix necessary, files are just compressed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-08 07:53 | Tamaranch | New Issue | |
2021-11-08 07:53 | Tamaranch | Tag Attached: magic | |
2021-11-13 17:49 | christos | Assigned To | => christos |
2021-11-13 17:49 | christos | Status | new => assigned |
2021-11-13 17:49 | christos | Status | assigned => feedback |
2021-11-13 17:49 | christos | Note Added: 0003669 | |
2021-11-13 18:22 | Tamaranch | File Added: org.xfce.mousepad.svg | |
2021-11-13 18:22 | Tamaranch | File Added: org.xfce.mousepad_inkscape.svgz | |
2021-11-13 18:22 | Tamaranch | File Added: org.xfce.mousepad_inkscape_simple.svgz | |
2021-11-13 18:22 | Tamaranch | File Added: org.xfce.ristretto.svg | |
2021-11-13 18:22 | Tamaranch | File Added: org.xfce.ristretto_inkscape.svgz | |
2021-11-13 18:22 | Tamaranch | File Added: org.xfce.ristretto_inkscape_simple.svgz | |
2021-11-13 18:22 | Tamaranch | File Added: splash.svg | |
2021-11-13 18:22 | Tamaranch | File Added: splash_inkscape.svgz | |
2021-11-13 18:22 | Tamaranch | File Added: splash_inkscape_simple.svgz | |
2021-11-13 18:22 | Tamaranch | Note Added: 0003670 | |
2021-11-13 18:22 | Tamaranch | Status | feedback => assigned |
2021-11-14 01:08 | christos | Status | assigned => feedback |
2021-11-14 01:08 | christos | Note Added: 0003671 | |
2021-11-14 11:38 | Tamaranch | Note Added: 0003672 | |
2021-11-14 11:38 | Tamaranch | Status | feedback => assigned |
2021-11-14 12:12 | christos | Status | assigned => resolved |
2021-11-14 12:12 | christos | Resolution | open => fixed |
2021-11-14 12:12 | christos | Note Added: 0003673 |