Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script-FU: Batch rotate script
#4
(02-04-2019, 05:48 AM)Ofnuts Wrote: Not a script-fu expert, but it looks like gimp-item-transform-rotate expects a layer/channel/path, not an image. If you want to rotate the image use gimp-image-rotate.
Sorry - misread the problem. Missed that the problem was about rotating the whole image.

I guess the answer is to use gimp-item-transform-rotate on each of the layers in the image. Use gimp-image-get-layers to get a list of the layers in the image and iterate through them.
Reply


Messages In This Thread
Script-FU: Batch rotate script - by dnairb - 02-03-2019, 11:37 PM
RE: Script-FU: Batch rotate script - by Ofnuts - 02-04-2019, 05:48 AM
RE: Script-FU: Batch rotate script - by programmer_ceds - 02-04-2019, 05:35 PM
RE: Script-FU: Batch rotate script - by dnairb - 02-04-2019, 06:08 PM
RE: Script-FU: Batch rotate script - by dnairb - 02-04-2019, 01:55 PM
RE: Script-FU: Batch rotate script - by Ofnuts - 02-04-2019, 10:39 PM

Forum Jump: