02-04-2019, 05:35 PM
(This post was last modified: 02-04-2019, 06:12 PM by programmer_ceds.)
(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.