Sign in to follow this  
HCGS

Rotating small selections doesn't work

Recommended Posts

Whenever I try to rotate a very small selection of pixels, I get strange, unexpected behaviour. This seems to only occurs if the selection's area is less than 16 pixels.

 

image.png.22ab359071fb3d3905114d483473d7ac.png

Share this post


Link to post
Share on other sites

Hmm the problem seems to be that the rotation is pulling those corners to half-pixel (well, non-integer) offsets. That's throwing off the sampling.

 

If you (very carefully) move the rotation anchor to the corner of the image, and then do rotation, then things work correctly.

 

However, that's a lame workaround because it's very difficult to do.  It's not even clear what the correct behavior should be in this case, because what we need is pixel snapping of some kind and pretty much any decision about how that snapping should work will make things weird. I'll keep thinking about this though ...

Share this post


Link to post
Share on other sites

When I create a checkboard that is 3x4 pixels and use the Image>Rotate 90 degrees I do not get the results that is described here.

Share this post


Link to post
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.

Sign in to follow this