Bug 157583 - PPTX with cropped image imported with distorted image
Summary: PPTX with cropped image imported with distorted image
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:pptx, regression
Depends on:
Blocks: Image-Crop
  Show dependency treegraph
 
Reported: 2023-10-03 20:20 UTC by Rafael Lima
Modified: 2023-11-01 11:19 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
PPTX document with cropped image (905.09 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-10-03 20:20 UTC, Rafael Lima
Details
Screenshot of what it looks like in MS PowerPoint (376.65 KB, image/png)
2023-10-03 20:22 UTC, Rafael Lima
Details
Screenshot of what it looks like in LO 7.5 (130.20 KB, image/png)
2023-10-03 20:23 UTC, Rafael Lima
Details
Screenshot of what it looks like in LO 7.6 (98.05 KB, image/png)
2023-10-03 20:24 UTC, Rafael Lima
Details
LibreOffice 7.6.2 (169.90 KB, image/png)
2023-10-04 00:45 UTC, m_a_riosv
Details
LibreOffice 24.02 (109.20 KB, image/png)
2023-10-04 00:46 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2023-10-03 20:20:43 UTC
Created attachment 189983 [details]
PPTX document with cropped image

Open the attached PPTX document in Impress and notice that the image is distorted.

This document was created using MS PowerPoint and the image was cropped in the original document.

The problem happens in

Version: 7.5.6.2 (X86_64) / LibreOffice Community
Build ID: f654817fb68d6d4600d7d2f6b647e47729f55f15
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

In LO 7.6 the problem is even worse... even more distorted

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.2~rc1-0ubuntu0.23.04.1~lo1
Calc: threaded
Comment 1 Rafael Lima 2023-10-03 20:22:07 UTC
Created attachment 189984 [details]
Screenshot of what it looks like in MS PowerPoint

This is the correct output in PowerPoint.
Comment 2 Rafael Lima 2023-10-03 20:23:04 UTC
Created attachment 189985 [details]
Screenshot of what it looks like in LO 7.5
Comment 3 Rafael Lima 2023-10-03 20:24:24 UTC
Created attachment 189986 [details]
Screenshot of what it looks like in LO 7.6

Notice that here the distortion is even worse.
Comment 4 m_a_riosv 2023-10-04 00:44:33 UTC
I can reproduce like you, but there is worse with 24.02
Comment 5 m_a_riosv 2023-10-04 00:45:41 UTC
Created attachment 189990 [details]
LibreOffice 7.6.2
Comment 6 m_a_riosv 2023-10-04 00:46:17 UTC
Created attachment 189991 [details]
LibreOffice 24.02
Comment 7 Xisco Faulí 2023-10-04 08:56:40 UTC
The document got worse in LibreOffice 24.2 with

author	Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	2023-09-01 21:20:05 +0200
committer	Tomaž Vajngerl <quikee@gmail.com>	2023-09-02 07:32:23 +0200
commit 9c636d76a9a7e167da39913ab60f5135f8e831a6 (patch)
tree 1390955c65a55b699f85adc87b86244a243ffda8
parent 78d9d0d8dccb6fd8952435b8a13d525c7606f467 (diff)
tdf#147704 fix reading TIFF metadata (width and height)

Bisected with: bibisect-linux64-24.2

Adding Cc: to Tomaž Vajngerl