Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
flip images
#6
(03-05-2024, 05:52 PM)gimpygirl Wrote:
(03-05-2024, 07:12 AM)Tas_mania Wrote: In the layers box next to the eye you can see a chain link. Shift + click in that row links the layers. From there you can go to Layer > Group > pack linked layers. This makes them all behave like a single layer. Then Layer > Transform > flip horizontally.

I work with multiple layers like this often. You can also resize them. When done just unpack and unlink. Smile

Thanks but I was also looking for the correct code to loop through all layers of image. I'm making a plugin

Well, for an "apply to all layers", the attached snippet of code works for me. Equivalent is Layer -> Transform -> Flip Vertically for each layer.

You could of course just flip the whole image Image -> Transform -> Flip Vertically then no need to cycle through the layers.


Attached Files
.zip   fliplayers.zip (Size: 421 bytes / Downloads: 102)
Reply


Messages In This Thread
flip images - by gimpygirl - 03-04-2024, 02:37 AM
RE: flip images - by Ofnuts - 03-04-2024, 08:37 AM
RE: flip images - by gimpygirl - 03-05-2024, 05:29 AM
RE: flip images - by Tas_mania - 03-05-2024, 07:12 AM
RE: flip images - by gimpygirl - 03-05-2024, 05:52 PM
RE: flip images - by rich2005 - 03-05-2024, 08:51 PM
RE: flip images - by Tas_mania - 03-06-2024, 03:48 AM

Forum Jump: