Jump to content

Move Selection + Move Pixels + Keep Ratio Issue


Recommended Posts

I encountered an issue today that resulted in different sized objects after resizing same sized objects due to an issue with the move selection tool.

Note in the below examples there is a second black box under the first on a different layer to show its original vs its new size.

If you create an initial selection:
image.png.dd8dd0bf6b95e9e3d143e800de1ab8b2.png

Then resize the selection using the Move Selection Tool:
image.png.607efbe59c49b4a57e25d326b8610b99.png

Then, using the move pixels tool, move the square to the right.
Finally, while holding shift (to maintain the ratio), drag a corner slightly:
image.png.fc52ea9aa179c8eca6d2631315281bd9.png

You'll notice the resize seems to use the original selection's ratio (in picture 1)
rather than the edited selection's ratio (in picture 2) causing the image to loose its ratio.

This is particularly notable in this example, but if you are getting the selection close to perfect,
then editing the selection to be exact, then resizing it you may not notice it resulting in slight ratio changes.


Note: if you need a workaround for this if you cut and paste the selection it now uses the new ratio.

Edited by Jackson
Including a workaround.
Link to comment
Share on other sites

You'll notice the resize seems to use the original selection's ratio (in picture 1)

Yup, by design. Otherwise you can never "hold on" to that original aspect ratio, it gets slushed away in rounding errors if nothing else.

 

Your workaround is the right one, just "reset" the aspect ratio by bouncing it through the clipboard with Edit -> Copy Selection and Edit -> Paste Selection -> Replace.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...