Page 1 of 1

DPI : how it works ?

Posted: Mon Jul 16, 2007 6:52 am
by rumicosly91
hi,

i read severals post about the DPI in this forum. I have few questions about it :
- what do exactly the api when i change the xpdi / ydpi value ? some post said it only change the metadata value some others said it change too the size of the picture... In my tests, only the value of the metadata is changed...
- So how to change the size of the picture when changing the dpi value ? like in photosop for instance...

i'm a bit lost...

sylvain

Re: DPI : how it works ?

Posted: Thu Jul 19, 2007 1:29 pm
by xnview
rumicosly91 wrote:- what do exactly the api when i change the xpdi / ydpi value ? some post said it only change the metadata value some others said it change too the size of the picture... In my tests, only the value of the metadata is changed...
Change only the DPI values stored in the file (if you save it)
- So how to change the size of the picture when changing the dpi value ? like in photosop for instance...
Currently there is no way, you must compute the new width/height in pixels