Bug 132656 - Show proper actual dimensions in Compress Image dialog
Summary: Show proper actual dimensions in Compress Image dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-DPI Image-Compression-Dialog
  Show dependency treegraph
 
Reported: 2020-05-03 20:24 UTC by Telesto
Modified: 2022-10-16 10:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (574.52 KB, application/vnd.oasis.opendocument.text)
2020-05-03 20:24 UTC, Telesto
Details
Screencast (6.14 MB, video/quicktime)
2020-10-09 06:33 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-03 20:24:34 UTC
Description:
Show proper actual dimensions in Compress Image dialog

Steps to Reproduce:
1. Open the attached file
2. Format -> Image -> Properties -> Crop tab
Size 13,55 x 10,16 (120ppi) also Image size (original size/ size of the image)
3. press Original size.. nothing happens (fine)
4. Format -> Image -> Compress
5. Actual dimensions ( 16,93 x 12,70 (640 x480 px) at 96 DPI screen. No it's 13,55 x 10,16 (120ppi)
6. Reduce image resolution -> Set it to 150 DPI
7. Press OK
8. Format -> Image -> Properties -> Crop tab
28,19 cm x 21,17 (72 PPI). Image size 13,55 cm x 10,16 
9. Format -> Image -> Compress. 
Actual dimensions 21,14 cm x 15,88 (799 x 600 px)
Apparent dimension 13,55 cm x 10,16 cm at 149 DPI




Actual Results:
Multiple dimensions at different resolutions

Expected Results:
Use the file embedded DPI as actual dimensions


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: b8fb7ecd9cdbe1898c41eaecd9894df8e8f01e25
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc:
Comment 1 Telesto 2020-05-03 20:24:51 UTC
Created attachment 160296 [details]
Example file
Comment 2 Telesto 2020-05-03 20:30:44 UTC
@Regina
Follow up on the DPI hunt.. The image dimension roulette. Showing the size based on: embedded DPI/ screen DPI/ and a fixed 72 DPI.
Comment 3 Telesto 2020-05-04 13:06:12 UTC
Screenshot MAC 
attachment 160316 [details] (bug 132658).. same cat

Screenshot Windows
attachment 160323 [details] (bug 132658)
Comment 4 Heiko Tietze 2020-07-06 09:39:51 UTC
Way too many tickets for my taste around the dpi vs. pixels issue. The UX/UI aspect is discussed in bug 115464 with some mockups. Removing the flag here.
Comment 5 Telesto 2020-07-06 10:24:28 UTC
(In reply to Heiko Tietze from comment #4)
> Way too many tickets for my taste around the dpi vs. pixels issue. The UX/UI
> aspect is discussed in bug 115464 with some mockups. Removing the flag here.

True.. however, this is of course the Compress dialog.. not the export dialog. Problem the same/similar.
Comment 6 Dieter 2020-10-09 06:15:30 UTC
Not sure, if I had the correct settings in compress dialog. Could you please add a screenshot how dialog looks after step 6? Thank you.
Comment 7 Telesto 2020-10-09 06:33:16 UTC
Created attachment 166216 [details]
Screencast
Comment 8 Dieter 2020-10-09 18:01:30 UTC
Thanks for screencast. That makes it more clear. I confirm it with

Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: he-IL (de_DE); UI: en-GB
Calc: threaded
Comment 9 QA Administrators 2022-10-10 03:31:36 UTC Comment hidden (obsolete)
Comment 10 Dieter 2022-10-16 10:54:39 UTC
Steps to Reproduce:
1. Open the attached file
2. Format -> Image -> Properties -> Crop tab
Size 13,55 x 10,16 (120ppi) also Image size (original size/ size of the image)
3. press Original size.. nothing happens (fine)
4. Format -> Image -> Compress
5. Actual dimensions ( 16,93 x 12,70 (640 x480 px) at 96 DPI screen. No it's 13,55 x 10,16 (120ppi)
6. Reduce image resolution -> Set it to 150 DPI
7. Press OK
8. Format -> Image -> Properties -> Crop tab
28,19 cm x 21,17 (72 PPI). Image size 13,55 cm x 10,16 
9. Format -> Image -> Compress. 
Actual dimensions 21,14 cm x 15,88 (799 x 600 px)
Apparent dimension 13,55 cm x 10,16 cm at 149 DPI