Bug 131174 - Image Compression Works wrong with Cropped Images
Summary: Image Compression Works wrong with Cropped Images
Status: RESOLVED DUPLICATE of bug 83734
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-05 23:22 UTC by rknasc
Modified: 2020-03-06 19:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
File demonstating issue (2.02 MB, application/vnd.oasis.opendocument.text)
2020-03-06 15:01 UTC, rknasc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rknasc 2020-03-05 23:22:40 UTC
Description:
When an image is significantly cropped and then compressed, the Aspect Ratio of the Image changes and the portion of the image displayed changes.

Steps to Reproduce:
1.Insert and Image into the document
2.Crop the image in half, making it thinner in width
3.Change the image properties to shrink the image (with Keep Ratio) so as to make it a high DPI resolution.
4. Right click on the Image and use Compress to significantly reduce the image resolution


Actual Results:
The image aspect ratio has changed, making more of the cropped image visible.

Expected Results:
I expect the image displayed to be the same as before compression, but at a lower resolution


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 6.4.0.3 (x64)
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 1 ian 2020-03-06 14:50:12 UTC
Thank you for reporting the bug. Please attach a sample document containing the original image and transformed image, as this makes it easier for us to verify the bug. 

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.

(Note that the attachment will be public, remove any sensitive information before attaching it.
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for further detail.)
Comment 2 rknasc 2020-03-06 15:01:55 UTC
Created attachment 158454 [details]
File demonstating issue

Here is a simple document containing one high resolution, cropped image.
To demonstrate the bug, right click on the image, select Compress, and compress it to 300 dpi.
Comment 3 Timur 2020-03-06 19:17:44 UTC
Looks like duplicate, please search first.

*** This bug has been marked as a duplicate of bug 83734 ***