Bug 82267

Summary: Add warning that inserting an .svg file will get converted to bitmap when converting to OOXML formatted .pptx
Product: LibreOffice Reporter: Nick <weegreenblobbie>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO ---    
Severity: enhancement CC: buzea.bogdan, frederic.parrenin, vsfoote
Priority: low Keywords: filter:pptx
Version: 4.2.5.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=126084
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107817    

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.
Comment 5 QA Administrators 2024-05-05 03:16:53 UTC
Dear Nick,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping