Bug 144367 - Add support to export SVGZ images, which are compressed SVG format images from LibreOffice Calc
Summary: Add support to export SVGZ images, which are compressed SVG format images fro...
Status: RESOLVED DUPLICATE of bug 100522
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 07:45 UTC by zimon
Modified: 2021-09-08 17:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zimon 2021-09-08 07:45:51 UTC
Description:
Calc can export SVG images, which are useful when a graph contains lots of information and ie. font size 6 is used to show labels and in X/Y-axes. Often much better format to use when exporting graph-images from the Calc, and later imported to PDF-document. Smooth and sharp unlimited zooming is useful.

But since SVG images are XML, they are well (lossless) compressible to SVGZ format.

(I saw some support for reading SVGZ files as a batch in bug #75487 but it didn't mention support for export and at least in LO which comes in Fedora 34 [v.7.1.6.2.0] exporting SVGZ from Calc seems not to be possible.)

Steps to Reproduce:
1. Make a graph in LO Calc. Use font size 5 or 6 in labels.
2. Use mouse 2nd button over the graph and take Export As Image
3. Choose format SVG in bottom right where format is chosen. See there is no SVGZ
4. Save the image as SVG.




Actual Results:
5. Check with Notepad or with hexeditor or with CLI less, the SVG file is uncompressed XML file.

Expected Results:
Be able to select SVGZ as a image format in stage 3, and have compressed SVGZ image file exported.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.6.2.0+
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Roman Kuznetsov 2021-09-08 17:58:11 UTC

*** This bug has been marked as a duplicate of bug 100522 ***