Bug 143154 - Pictures outside slide borders are not displayed / pptx
Summary: Pictures outside slide borders are not displayed / pptx
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on: WebP
Blocks: PPTX-Images
  Show dependency treegraph
 
Reported: 2021-07-02 07:06 UTC by Axel Braun
Modified: 2022-02-01 16:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the issue (371.04 KB, image/png)
2021-07-02 07:06 UTC, Axel Braun
Details
Example Slide (703.14 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-07-02 07:07 UTC, Axel Braun
Details
The example file in PP and LO 7.3alpha (1.07 MB, image/png)
2021-07-07 13:58 UTC, NISZ LibreOffice Team
Details
One of the problematic images extracted from the file (180.40 KB, image/jpeg)
2021-07-08 06:47 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2021-07-02 07:06:12 UTC
Created attachment 173312 [details]
Screenshot showing the issue

Hi, I received a pptx slidedeck with pictures that are not aligned to the slide borders (example slide attached)
Pictures are not displayed (see screenshot), as well not in presentation mode
Comment 1 Axel Braun 2021-07-02 07:07:08 UTC
Created attachment 173313 [details]
Example Slide
Comment 2 NISZ LibreOffice Team 2021-07-07 13:58:40 UTC
Created attachment 173412 [details]
The example file in PP and LO 7.3alpha

Confirming with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bd2f2273d83dcca43eb6b465308707efd45e7adf
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL
Comment 3 NISZ LibreOffice Team 2021-07-08 06:47:20 UTC
Created attachment 173438 [details]
One of the problematic images extracted from the file

Looks to be a problem with the images themselves. 
When inserting this into Writer I get an error message "Image filter not found".

Maybe they were made using some new encoding standard?
Comment 4 NISZ LibreOffice Team 2021-07-08 06:55:30 UTC
file reports for the problematic 3:

$ file *jpg
image2.jpg: RIFF (little-endian) data, Web/P image, VP8 encoding, 1024x768, Scaling: [none]x[none], YUV color, decoders should clamp
image3.jpg: RIFF (little-endian) data, Web/P image, VP8 encoding, 1024x768, Scaling: [none]x[none], YUV color, decoders should clamp
image4.jpg: RIFF (little-endian) data, Web/P image, VP8 encoding, 1024x682, Scaling: [none]x[none], YUV color, decoders should clamp

@Tomaz, I recon you understand these topics better, is it possible to support such images?
Comment 5 Tomaz Vajngerl 2021-07-09 07:11:01 UTC
These are WebP images, so this bug would be related or duplicate of the bug [1]. Until now there wasn't much need to add support for WebP images, but if you can add them into MSO, then we will have problems and will have to add support - at least for reading or we will have more problem in the future. 

What we need is to add building of external library libwebp (+ system lib override) and add reading support in vcl/source/filters + GraphicFilter class  


[1] https://bugs.documentfoundation.org/show_bug.cgi?id=114532
Comment 6 Timur 2022-02-01 12:52:39 UTC
OK in master 7.4+ after fix in bug 114532. 
I mark Fixed, although this could be also a duplicate.