Page 1 of 1
Width of PNG in XnView and Word
Posted: Tue Aug 30, 2011 11:14 am
by Peter2
I have problems with the width (and heigth) of a PNG ....
I made a screenshot, cropped and saved it as PNG. Then I display it with "100%" - the image is sharp and fine. OK.
The width is displayed with "15.00 cm", but the real size on screen is "12.50" (measured with a ruler).
Then I imported the PNG to MS Word 2003, display Word with "100 %":
- The image properties are 100%, 15 cm.
- The ruler in Word shows 15 cm too; the ruler in my hand shows 17 cm.
- But the display is not sharp, and displaying "100% in XnView" and "100% in Word" side by side shows a remarkable difference.
What happens here?
Regards
Peter
Re: Width of PNG in XnView and Word
Posted: Tue Aug 30, 2011 11:58 am
by xnview
Could you post a screenshot?
Re: Width of PNG in XnView and Word
Posted: Tue Aug 30, 2011 1:40 pm
by Peter2
xnview wrote:Could you post a screenshot?
I sent per e-mail.
Peter
Re: Width of PNG in XnView and Word
Posted: Sat Sep 03, 2011 8:04 am
by DOS386
Peter2 wrote:I made a screenshot, cropped and saved it as PNG
Good

With XNVIEW only ???
The width is displayed with "15.00 cm", but the real size on screen is "12.50" (measured with a ruler)
The physical size refers, if ever, to printing, not the screen

But I don't get any physical size when saving a shot with XNVIEW ... how did you do ?
Then I imported the PNG to MS Word 2003, display Word with "100 %":
- The image properties are 100%, 15 cm.
- The ruler in Word shows 15 cm too; the ruler in my hand shows 17 cm.
- But the display is not sharp, and displaying "100% in XnView" and "100% in Word" side by side shows a remarkable difference.
What happens here?
I can't reproduce any bug in XN. Most likely this is due to World's size understanding and related to the
pHYs chunk in PNG format. Does you file have it ? What pixel per inch or pixel per meter value ? Try to remove it with PNGOUT (XN/NC can't ???).
BTW, PNG is a pixel based image format so the only "real" size is the size in pixels, the printing size can be any ...
http://www.libpng.org/pub/png/book/chap ... ch11.div.8
Re: Width of PNG in XnView and Word
Posted: Sat Sep 03, 2011 9:08 am
by Peter2
DOS386 wrote:...The physical size refers, if ever, to printing, not the screen

...
Yes. The behaviour was based on the difference between "View - 100%" and "View - Real size". With "Real size" everything is OK.
DOS386 wrote:...But I don't get any physical size when saving a shot with XNVIEW ... how did you do ?

...
You can see it in ....
- Browser mode in the status bar
- Browser mode, "Detail list" plus selected column "Print size"
- in Viewer mode when you "select all" in the status bar
Peter