We're currently migrating from Ask to Discourse, read the details here

Ask Your Question

SVG images in ODF would have an extra copy of PNG format, which makes the file size become large. Is it intentional? If yes, why? [closed]

asked 2018-02-20 14:06:48 +0200

Franklin Weng gravatar image

This question is also asked in zh-tw forum.

Opening files with SVG images inside in LibreOffice and saving as ODT files, the file sizes became much more. Then the user found that under the Pictures folder of ODT files, all the SVG files had a copy of PNG format, which made the file size became much more than the original file.

The original files were made by Apache OpenOffice. In AOO it wouldn't have a PNG copy.

Is this behavior intentional? Would anyone please tell us what it is for? Besides, is there any expert options to control this behavior, i.e., to control if a PNG copy is made or not?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-10-30 23:25:32.339450

2 Answers

Sort by » oldest newest most voted

answered 2018-02-20 23:16:17 +0200

Regina gravatar image

The png version is included to help consumers, which are not able to read svg-images. For example Word got only recently the ability to read svg-images. Including different representations of the same content is explicitly allowed in file format for this purpose.

I cannot confirm your observation about Apache OpenOffice. I have got version 4.1.5 and it includes png-images too. And Word 365, which has an usable ODF export, includes a png-image as well.

I do not know any setting to suppress including png-images. If file size is really a problem for you, then you should write an enhancement request to provide means to save to a minimal file size.

edit flag offensive delete link more

answered 2018-02-21 09:50:10 +0200

jojomayang gravatar image

updated 2018-02-21 12:18:29 +0200

Thank you very much.

Enhancement Request: https://bugs.documentfoundation.org/s...

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-02-20 14:06:48 +0200

Seen: 313 times

Last updated: Feb 21 '18