Win7 x64
Tools>Options>View: Title Bar:
<Filename With Ext> <Size auto> W<WidthInch> x H<HeightInch>:
Original file size: 11.6" x 18"
Displays as W11" x L18" (width is erroneous)
Why is that and can I fix it?
Image dimensions in inches
Moderators: XnTriq, helmut, xnview
-
- Moderator & Librarian
- Posts: 6388
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Image dimensions in inches
- Which version of XnView are you using?
- Which file format(s) are we dealing with?
- Is Use EXIF DPI information if exists in Tools » Options... » General » Operations enabled?
As already said, a second place where resolutions can be found is the optional APP1/EXIF segment. Strictly speaking, JFIF and EXIF are supposed to be mutually exclusive, because both standards wants their segment to be the first one. But in practice, you often find both segments, one of them necessarily in the "wrong" place.
Thirdly, the optional APP13/Photoshop IRB (Image Resource Block) segment has provision for storing resolutions.
Of course, life becomes interesting when two or more of those sources are present and disagree...
Or when a rational values found in IRB (or EXIF) segment has a null denominator... Or a null numerator...
Or when some software try to out-smart the standards : Photoshop used to (still does ?) authoritatively declares 72 dpi for JPEG devoid of any resolution information. Ditto when it deemed the resolution to be too low (<10 dpi IIRC). It also forces the X and Y resolutions to be the same...[/quote]
-
- Posts: 3
- Joined: Fri Nov 26, 2010 9:29 pm
Re: Image dimensions in inches
I'm using v.1.98.5
We're dealing with just JPGs.
Use EXIF DPI information is checked.
It seems like it doesn't want to calculate decimals and rounds down no matter what the decimal is. So, 11.7 would be 11. I tested this is decimal places 0.300, 0.600, 0.700. In all three instances, the number was rounded down.
We're dealing with just JPGs.
Use EXIF DPI information is checked.
It seems like it doesn't want to calculate decimals and rounds down no matter what the decimal is. So, 11.7 would be 11. I tested this is decimal places 0.300, 0.600, 0.700. In all three instances, the number was rounded down.
-
- XnThusiast
- Posts: 1350
- Joined: Thu Nov 24, 2005 3:07 pm
- Location: CH
Re: Image dimensions in inches
Confirmed for 1.98.5, Win XP Home, TIFF.
There is also a file which has "File properties: 8,00 Inch" -> Fullscreen displays 7 Inch
Peter
There is also a file which has "File properties: 8,00 Inch" -> Fullscreen displays 7 Inch
Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
-
- Moderator & Librarian
- Posts: 6388
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Image dimensions in inches
Possibly related issues:
-
- Posts: 3
- Joined: Fri Nov 26, 2010 9:29 pm
Re: Image dimensions in inches
The problem is that it's rounding whole numbers. Not thousandths or tens.
Again: 11.6" becomes 11".
Again: 11.6" becomes 11".