Page 1 of 1

Keep ratio on paste

Posted: Fri Dec 13, 2019 7:07 pm
by Innarel
Can you make it possible to have an option in settings to keep the clipboard image ratio when pasteing it over an open image, inside a selected area?

Thx.

Re: Keep ratio on paste

Posted: Mon Jan 13, 2020 3:15 pm
by xnview
yes will be better

Re: Keep ratio on paste

Posted: Tue Mar 03, 2020 4:58 pm
by xnview
See issue for current status and some details.

Re: Keep ratio on paste

Posted: Sat Mar 21, 2020 9:18 am
by xnview
This problem is supposed to be fixed in XnView MP 0.96. Please check and confirm the bug fix here.

Re: Keep ratio on paste

Posted: Sat Mar 21, 2020 2:24 pm
by Sirio
Hello I just installed the MP 0.96, I don't see any difference.
I mean, I have copied an image in the clipboard, before to paste it on another image, I draw a selection area in order to paste the picture in a precise place and not in the upper left corner. The pasted picture still to fit inside the selection area without keeping it's original aspect ratio, but following the shape of this rectangle.
I don't found any settings in the options.

Re: Keep ratio on paste

Posted: Sat Mar 21, 2020 2:41 pm
by xnview
you need to change in xnview.ini

Re: Keep ratio on paste

Posted: Sat Mar 21, 2020 2:54 pm
by Sirio
Perfect, it works.
In detail: open an explorer, go to %appdata%\XnViewMP, right click on the xnview.ini file, then Edit.
Search the line pasteKeepRatio in the chapter [Viewer], and change false in true.

Code: Select all

pasteKeepRatio=true

Re: Keep ratio on paste

Posted: Tue May 25, 2021 3:02 pm
by Innarel
Ok,

It works like a charm.

But, still, it lacks a checkbox in the configuration menu to set this up.
Editing ini file is not the better way to change settings, at all.

Can you make it more accessible?

Cheers. :)