Changed image resolution...

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
Dominius
Posts: 43
Joined: Mon Nov 28, 2016 9:58 am

Changed image resolution...

Post by Dominius »

...XnView MP did not notice the change. XnView Windows (running in Wine) saw it right away.

This is one of the times I'm inclined to think that somebody else should be working on MP. Just thought I'd mention it.

Dominius
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Changed image resolution...

Post by xnview »

Dominius wrote:...XnView MP did not notice the change. XnView Windows (running in Wine) saw it right away.
you resize and save the picture file?
Pierre.
Dominius
Posts: 43
Joined: Mon Nov 28, 2016 9:58 am

Re: Changed image resolution...

Post by Dominius »

xnview wrote:
Dominius wrote:...XnView MP did not notice the change. XnView Windows (running in Wine) saw it right away.
you resize and save the picture file?
No. The picture was the same size (dimensions) and in the same directory. All that might have changed (though I used Exiftool's -P for preserve mod date flag in the bash script by which I did the resolution change) besides the res was the mdate.

Dominius
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Changed image resolution...

Post by xnview »

please tell me the command used with exiftool?
Pierre.
Dominius
Posts: 43
Joined: Mon Nov 28, 2016 9:58 am

Re: Changed image resolution...

Post by Dominius »

xnview wrote:please tell me the command used with exiftool?
What follows is for another file (with this one, X-MP saw the change right away).

Code: Select all

file0="gae77-7765-047-009.jpg"
exiftool "$file0" -xresolution=108 -yresolution=108 -f -resolutionunit="inches"
The script didn't have the -f -resolutionunit="inches" part. I wasn't aware you could add that yet. (It does now.)

Dominius
Post Reply