Results 1 to 3 of 3

Thread: GIMP Script Request - Arbitrary Rotate on Entire Image

  1. #1
    Community Leader Guild Sponsor Gidde's Avatar
    Join Date
    May 2009
    Location
    Michigan, USA
    Posts
    3,673

    Default GIMP Script Request - Arbitrary Rotate on Entire Image

    Hi Guys,

    This probably goes out to RobA but if there are any other GIMP scripters around, could you help me with this?
    This is the mechanism I'm following on image after image and it seems just silly not to script it:


    Get rotation angle R.
    For each layer (AND channel) in image:
    -Arbitrarily rotate the layer by R degrees (default center is fine)
    -Layer to image size


    I have to believe this would be a 7-line or less script-fu, but unfortunately I'm still on painkillers and learning a new programming language is beyond my befuddled brain. Help? Pretty please?

  2. #2
    Guild Adept bkh1914's Avatar
    Join Date
    Aug 2010
    Location
    Wisconsin
    Posts
    362

    Default

    Not a script, but have you tried:
    a) Chain all layers, channels and paths (holding down the shift key when clicking the chain symbol to chain all layers in one operation)
    b) Select any layer and rotate it. All the other layers, paths and channels will be rotated the same amount around the same center.
    c) Crop the image to the current image size to eliminate the layer/channel/path regions outside of the current image size.

  3. #3
    Community Leader Guild Sponsor Gidde's Avatar
    Join Date
    May 2009
    Location
    Michigan, USA
    Posts
    3,673

    Default

    Well that is certainly a lot less work than I was doing! Thanks a ton, that worked beautifully! Have to do this with 71 pieces of image, so you've saved me tons of time!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •