Bug 101212 - Compression and cropping of images problematic
Summary: Compression and cropping of images problematic
Status: RESOLVED DUPLICATE of bug 56468
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.4.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-29 23:00 UTC by Thomas Maeder
Modified: 2016-08-01 07:25 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
File with pictures & comments describing operations & results (3.72 MB, application/vnd.oasis.opendocument.text)
2016-07-29 23:00 UTC, Thomas Maeder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Maeder 2016-07-29 23:00:11 UTC
Created attachment 126479 [details]
File with pictures & comments describing operations & results

There are several bugs in the image handlers for cropping and compression, especially when doing both, e.g. compressing a cropped image with downsampling.

Steps to reproduce & comments: see attachment = LO Writer .odt file, corresponding sections:
1) Original PNG image, 254 dpi

2) Original image (1) converted to JPEG without downsampling: works OK, only cosmetic
bug (original size displayed incorrectly in compression dialog box)

3) Original image (1) converted to JPEG with downsampling to 150 dpi: works apparently OK, but, in addition to bug seen in (2), the "original size" of the image is very small, whereas it should not be changed (only the resolution should be reduced).

4) Original image (1), cropped and converted                                  to JPEG without downsampling: works OK, as (2), but, in addition to incorrect original size, indicated display resolution in compression dialog is incorrect.

5) Cropped image from (4), now compressed with downsampling to 150 dpi: strange behaviour…
Comment 1 Alex Thurgood 2016-08-01 07:25:16 UTC
The several different problems you report here all seem to already mentioned in bug 56468

Setting as DUP of that bug.

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