Post Reply 

Rotate/Resize problem

Jul 10, 2011, 17:27 (This post was last modified: Jul 10, 2011 17:30 by DailyLunatic.)
Post: #1
Rotate/Resize problem
When Rotating or Resizing an image I have recently run into an issue. This is new behaviour so I think I either have something set incorrecly, or it came in with a recent re-install.

When Rotating or Resizing, and setting Clipping to Adjust, it always Crops the image.

In other words: If I were to attempt to stretch an image bigger than 1000x1000 to say 1500x1500 it appears to do all the correct calculations, and does stretch the image, but anything outside the original 1000x1000 disappears.

Likewise if I were to attempt to rotate an image that were say, 1000x1500, 90°, I would end up with a rotated image 1000x1000 in size, and transparent/background for the balance of the original 1000x1500 sized image.

Any ideas what could be causing this?

I've tried uninstalling/reinstalling (it remembered all my settings, so I don't know how much good this might have done), setting the Clipping option to Clip, then Crop and back to Adjust again (also with no result).

Using Gimp 2.6.11 on Windows Vista. Your constructive comments and questions welcome.

-sterling
Find all posts by this user
Quote this message in a reply
Jul 10, 2011, 19:19
Post: #2
RE: Rotate/Resize problem
The rotated layer is always cropped to the current canvas. Inrease your canvas size (Image/Canvas size) and center the layer in it.

For 90/180 degrees rotations, the various "Image/Transform/Rotate" also rotate the canvas, so no pixels are lost (but they rotate all layers)

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jul 10, 2011, 19:58 (This post was last modified: Jul 10, 2011 20:27 by DailyLunatic.)
Post: #3
RE: Rotate/Resize problem

.xcf  Rotation Test.xcf (Size: 1.31 MB / Downloads: 74)
(Jul 10, 2011 19:19)ofnuts Wrote:  The rotated layer is always cropped to the current canvas. Inrease your canvas size (Image/Canvas size) and center the layer in it.

Tested this by inserting a layer smaller than the canvas (a small arrow). First three times I attemped to rotate it did just as I described in my previous post. The next attempt got a Floating Transformation Layer and after anchoring everything has been behaving normally. This has happened before and will most like behave for several days. Any ideas?

(Jul 10, 2011 19:19)ofnuts Wrote:  For 90/180 degrees rotations, the various "Image/Transform/Rotate" also rotate the canvas, so no pixels are lost (but they rotate all layers)

Is this different from the rotate tool in the toolbox? Rotating a single layer JPG as test and it behaves as described in my previous post. Selecting Rotate in toolbox, Clicking on image, Rotate dialog box pops up, I enter 90°, click 'rotate', it rotates and crops the edges off. Canvas is not rotating.

I do not remember having this problem before as long as 'adjust' was selected.

I have attemped to attach a file showing this more clearly, but do not see it attached and don't know if it went through.

-sterling
Find all posts by this user
Quote this message in a reply
Jul 10, 2011, 20:37
Post: #4
RE: Rotate/Resize problem
(Jul 10, 2011 19:58)DailyLunatic Wrote:  Tested this by inserting a layer smaller than the canvas (a small arrow). First three times I attemped to rotate it did just as I described in my previous post. The next attempt got a Floating Transformation Layer and after anchoring everything has been behaving normally. This has happened before and will most like behave for several days. Any ideas?
You get a floating selection if you have a selection when you Rotate... you are no longer rotating a layer but the selected part of a layer (even if that encompasses the whole layer).

(Jul 10, 2011 19:58)DailyLunatic Wrote:  
(Jul 10, 2011 19:19)ofnuts Wrote:  For 90/180 degrees rotations, the various "Image/Transform/Rotate" also rotate the canvas, so no pixels are lost (but they rotate all layers)
Is this different from the rotate tool in the toolbox?
Yes it's completely different since it rotates the image (including the canvas) and not a layer (or layers, if they are linked). You'll notice that it will only rotate multiple of 90 degrees (ie, pixel-for-pixel, no interpolation).

(Jul 10, 2011 19:58)DailyLunatic Wrote:  Rotating a single layer JPG as test and it behaves as described in my previous post. Selecting Rotate in toolbox, Clicking on image, Rotate dialog box pops up, I enter 90°, click 'rotate', it rotates and crops the edges off. Canvas is not rotating.
Expected since, as I said, only Image/Transform/Rotate rotates the canvas.

(Jul 10, 2011 19:58)DailyLunatic Wrote:  I do not remember having this problem before as long as 'adjust' was selected.

I have attemped to attach a file showing this more clearly, but do not see it attached and don't know if it went through.
No it didn't Undecided

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jul 17, 2011, 19:23
Post: #5
RE: Rotate/Resize problem
(Jul 10, 2011 20:37)ofnuts Wrote:  You get a floating selection if you have a selection when you Rotate... you are no longer rotating a layer but the selected part of a layer (even if that encompasses the whole layer).

Tested this and 'Selection' does seem to be the issue. When inserting an image it comes in default as 'selected' (hadn't noticed before). If I attempt to rotate/resize, before I have lost that default selection I was having issue. All I have to do it insure the new layer is not selected (marching ants) and all is good with the world.

Thank you for your help with this issue.

-sterling
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  problem with drop shadow Kharl 37 1,865 Oct 8, 2014 04:53
Last Post: Kharl
  Pattern Fill Problem, Request BeePee 7 694 Jul 25, 2014 18:41
Last Post: rich2005
  Problem with Cursor/Brush tip Pyrefly 5 548 Jul 24, 2014 15:59
Last Post: iForStyle007
  problem gimp with my genius tablet mahermatrix 2 302 Jul 23, 2014 16:40
Last Post: mahermatrix
Sad How do I resize brushes in GIMP 2.2.17??? serskine2009 3 380 Jul 22, 2014 09:24
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS