Bug 139279 - Writer does not properly export cropped picture to PDF on Windows
Summary: Writer does not properly export cropped picture to PDF on Windows
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2020-12-28 12:54 UTC by artragis
Modified: 2025-11-25 15:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The odf file to reproduce (5.85 MB, application/octet-stream)
2020-12-28 12:56 UTC, artragis
Details
The bad generated PDF (1.95 MB, application/pdf)
2020-12-28 12:57 UTC, artragis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description artragis 2020-12-28 12:54:45 UTC
Description:
When we add a picture in a writer document on Windows, if we crop and resize it the images are not good on PDF.

Steps to Reproduce:
1. Open libreoffice on windows
2. Use Insert > Media > Scanner > Acquire
3. Crop the image and resize it (crop & resize seems to increase the frequency of the bug)
4. Save your document in odt format
5. Export the document to PDF keeping default parameters

Actual Results:
The image may be incorrect on the generated PDF and displays sometimes a bad part of the cropped image, or a deformed version of the image


Expected Results:
The image is always the good one


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Never reproduced on 7.0.3 on ubuntu
Comment 1 artragis 2020-12-28 12:56:40 UTC
Created attachment 168530 [details]
The odf file to reproduce
Comment 2 artragis 2020-12-28 12:57:53 UTC
Created attachment 168531 [details]
The bad generated PDF
Comment 3 mulla.tasanim 2020-12-28 17:18:52 UTC
Thank you for reporting the bug.

I can confirm that the bug is present in

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 761a672d62df1891b9f4f367a499b220ab2b33fa
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 4 Timur 2020-12-29 10:48:03 UTC
Please test Print to PDF, could be a duplicate of Bug 117059. 
Should be tested with LO 5.0 (or 4.last) and 6.0 (or 5.last) for regression.
Comment 5 QA Administrators 2022-12-30 03:28:18 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2024-09-27 17:43:37 UTC
(In reply to artragis from comment #1)
> Created attachment 168530 [details]
> The odf file to reproduce

(In reply to artragis from comment #2)
> Created attachment 168531 [details]
> The bad generated PDF

The document looks the same as the PDF. What is the badness?
Comment 7 BogdanB 2024-09-27 18:00:46 UTC
I see the same, even if I crop an image, the PDF is exactly like the document.

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 8 QA Administrators 2025-03-27 03:14:07 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2025-11-25 15:31:50 UTC
Dear artragis,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp