Bug 142047 - Loss of image quality converting ODP to PPTX
Summary: Loss of image quality converting ODP to PPTX
Status: VERIFIED DUPLICATE of bug 108356
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PPTX-MasterSlide
  Show dependency treegraph
 
Reported: 2021-05-03 07:34 UTC by Tim Chambers
Modified: 2022-11-28 10:54 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Original OPD file with clear images (6.72 MB, application/vnd.oasis.opendocument.presentation)
2021-05-03 07:35 UTC, Tim Chambers
Details
PPTX file with poor quality images and no page numbers (6.45 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-05-03 07:36 UTC, Tim Chambers
Details
The larger background image in the ODP and PPTX version of the file (581.88 KB, image/png)
2021-05-03 14:42 UTC, NISZ LibreOffice Team
Details
The smaller background image in the ODP and PPTX version of the file (477.54 KB, image/png)
2021-05-03 14:51 UTC, NISZ LibreOffice Team
Details
The example file and its PPTX version in Impress, smaller image (540.46 KB, image/png)
2022-11-27 22:01 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Chambers 2021-05-03 07:34:36 UTC
Description:
Presentation created in Impress as an ODP file, then converted to PPTX using Save As.

Images used in slide headings were severely blurred when converted and no longer recognisable.

Also, the page numbers were no longer visible.

Steps to Reproduce:
1.Create presentation and include images in the title tpage as a background to the title
2.Save as ODP
3.Save as PPTX

Actual Results:
Images blurred.

Page numbers lost

Expected Results:
Visual equivalence between the ODP and PPTX versions


Reproducible: Didn't try


User Profile Reset: No



Additional Info:
Converting to PPTX is required to give the presentation at another organisation.
Comment 1 Tim Chambers 2021-05-03 07:35:53 UTC
Created attachment 171597 [details]
Original OPD file with clear images
Comment 2 Tim Chambers 2021-05-03 07:36:45 UTC
Created attachment 171598 [details]
PPTX file with poor quality images and no page numbers
Comment 3 Tim Chambers 2021-05-03 07:37:49 UTC
Images displayed as content were not affected, just the ones used as background in the title page and the slide headers
Comment 4 NISZ LibreOffice Team 2021-05-03 14:42:07 UTC
Created attachment 171612 [details]
The larger background image in the ODP and PPTX version of the file

Looks like some image settings are incorrectly exported to PPTX:
* The width and height of the image is doubled.
* The Position becomes Top Left instead of Top Center.
Comment 5 NISZ LibreOffice Team 2021-05-03 14:51:01 UTC
Created attachment 171613 [details]
The smaller background image in the ODP and PPTX version of the file

The smaller image also becomes larger, also its positioning changes from Bottom Right to Top Left.
Comment 6 NISZ LibreOffice Team 2021-05-03 14:53:00 UTC
Manually changing these values back to their original restores the look of the images in the PPTX version.

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c930c4f3109d123c0831d0fcecf9c8b32e5bbc7
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 7 Tim Chambers 2021-05-03 23:18:08 UTC
Thanks - the workaround is good to know
Comment 8 Gabor Kelemen (allotropia) 2022-11-27 22:01:18 UTC
Created attachment 183835 [details]
The example file and its PPTX version in Impress, smaller image

Looks much better now in

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 8c6a9daaf99830e1a2a560a9dd0abf3c1e4cfa48
CPU threads: 16; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

The images Width, Height and Position are now correctly saved and reloaded in PPTX.

Presumably after 
https://git.libreoffice.org/core/+/3f70375cf160841b6140f5f1b2b79af3652897f8%5E%21

author	Tibor Nagy <nagy.tibor2@nisz.hu>	Fri Nov 18 12:06:59 2022 +0100
committer	László Németh <nemeth@numbertext.org>	Thu Nov 24 16:56:38 2022 +0100

tdf#152069 tdf#108356 PPTX export: fix missing tile properties
Comment 9 Gabor Kelemen (allotropia) 2022-11-27 22:02:34 UTC
Thanks Tibor for fixing this one too :)

*** This bug has been marked as a duplicate of bug 108356 ***
Comment 10 NISZ LibreOffice Team 2022-11-28 10:54:42 UTC
Verified in:
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5b18eebc2c95321ce7e6edf10f4df81557382a48
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL threaded