| Summary: | Compression and cropping of images problematic | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Thomas Maeder <thms.maeder> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 5.1.4.2 release | ||
| Hardware: | All | ||
| OS: | macOS (All) | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | File with pictures & comments describing operations & results | ||
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…