Bug 82267 - Add warning that inserting an .svg file will get converted to bitmap when converting to OOXML formatted .pptx
Summary: Add warning that inserting an .svg file will get converted to bitmap when con...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.2.5.2 release
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: Impress-UX
  Show dependency treegraph
 
Reported: 2014-08-06 22:09 UTC by Nick
Modified: 2023-11-06 15:07 UTC (History)
3 users (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 Nick 2014-08-06 22:09:40 UTC
Please add a warning when inserting .svg files if the current document format will convert it to bitmap.

At first I thought I was running to bug 42092, but after trying to isolate the problem to report a new bug for Presentation, I discovered it was only a problem if the current file format is a ".pptx" format.

It was not obvious what was going on, the export to PDF option was producing very ugly results, areas of the .svg were covered by black boxes

I'm not sure if this is a limitation of .pptx but consider converting to the .svg to some other scalable format (perhaps enhanced meta file?) that would work for .pptx.
Comment 1 V Stuart Foote 2014-08-07 19:27:32 UTC
@Nick, *,

The OOXML .pptx output is not native to LibreOffice.  Do you have any better results if working with the native ODF formats.

Use ODG for importing the .SVG and then placing that image into a ODP presentation?

The .SVG formatting is retained 100% going into ODG. And, it has good fidelity in its vector data format on export to PDF from the Draw component.  

Also, when the Draw image object is placed into the Presentation it remains a vector graphic at full resolution. But, it does seem a bit degraded when exporting from Presentation to PDF--it is still a vector graphic, but the vertices are no longer identical. I think that is a pstoedit issue in the PDF filter.
Comment 2 Nick 2014-08-07 20:21:32 UTC
Yes, it works fine when the file format is open-document.  PDF output looks super, and I confirmed the imported .svg is saved as a .svg inside of the .odp.

I'm suggesting a warning dialog if the file format is not open-document.
Comment 3 BogdanB 2023-10-30 15:39:03 UTC
I imported a SVG into a PPTX, and in the file content I have the SVG file. Not transformed to bitmap. Could you retest?

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b7d2a9c824aca1a4dfd1b857a3620e73ade6bc0d
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 4 Frederic Parrenin 2023-11-06 15:07:54 UTC
If I insert an svg image into a pptx and open it in PowerPoint, the image looks blurry. 
I am not sure if the content is svg, but at least there is a pixmap preview.