Keep ratio on paste

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
User avatar
Innarel
Posts: 4
Joined: Mon Oct 28, 2019 12:16 pm

Keep ratio on paste

Post by Innarel » Fri Dec 13, 2019 7:07 pm

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.

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

Re: Keep ratio on paste

Post by xnview » Mon Jan 13, 2020 3:15 pm

yes will be better
Pierre.

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

Re: Keep ratio on paste

Post by xnview » Tue Mar 03, 2020 4:58 pm

See issue for current status and some details.
Pierre.

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

Re: Keep ratio on paste

Post by xnview » Sat Mar 21, 2020 9:18 am

This problem is supposed to be fixed in XnView MP 0.96. Please check and confirm the bug fix here.
Pierre.

User avatar
Sirio
Posts: 123
Joined: Tue Oct 13, 2015 3:22 pm

Re: Keep ratio on paste

Post by Sirio » Sat Mar 21, 2020 2:24 pm

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.
Sirio

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

Re: Keep ratio on paste

Post by xnview » Sat Mar 21, 2020 2:41 pm

you need to change in xnview.ini
Pierre.

User avatar
Sirio
Posts: 123
Joined: Tue Oct 13, 2015 3:22 pm

Re: Keep ratio on paste

Post by Sirio » Sat Mar 21, 2020 2:54 pm

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
Sirio

Post Reply