Bug 91277 - Xlsx Image Size Slightly Off
Summary: Xlsx Image Size Slightly Off
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Excel-2013-Templates
  Show dependency treegraph
 
Reported: 2015-05-14 03:12 UTC by Joel Madero
Modified: 2015-05-22 14:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Original.xlsx (49.52 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2015-05-14 03:12 UTC, Joel Madero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Madero 2015-05-14 03:12:11 UTC
Created attachment 115587 [details]
Original.xlsx

Windows 7
Version: 5.0.0.0.alpha1+
Build ID: 5b3a30f40a7ce476922649b734f6ede1c2fdef4b
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-05-13_01:52:36
Locale: en-US (en_US)

1) Open attached original.xlsx
2) Right click on the icon in the top left;
3) Click "position and size"

Look at size values

Observed: 0.37" for both height and width

Microsoft Office 2013 shows both at 0.38" - it is *very* slightly noticeable to the eye.
Comment 1 raal 2015-05-18 06:59:37 UTC
Excel 2010 - size 0,95 x 0,95 cm  = 0,374 x 0,374"

1" = 2,54 cm
Comment 2 MM 2015-05-18 22:53:04 UTC
Interesting. If the file has been made with office 2013 and the height/width was set to 0.38" then both excel 2010 and LO could have it wrong. Or was the file made with some other package ? Then office 2013 could be wrong here.
Comment 3 Joel Madero 2015-05-19 04:24:14 UTC
The file is a template from MSO 2013.
Comment 4 Markus Mohrhard 2015-05-20 06:41:45 UTC
So I'm not sure if there is an issue.

The image has a width of 9.525mm which translates to 0.375".

Measuring the size with a screen ruler the image might be 1 pixel smaller in calc or not. Unless someone can measure a real difference (more than the 1px that I might have or not) I consider this ok.

If there is a 1px difference it might just be a rounding difference similar to the one that we get for the shown size.