Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GIF frames deleting script.
#2
I've got this script as start:

Code:
image = gimp.image_list()[0]
for (index,layer) in enumerate(image.layers):
 if not index%3:
   image.remove_layer(layer)

but it only does like 30% of goal.
Reply


Messages In This Thread
GIF frames deleting script. - by rey - 04-02-2023, 12:29 PM
RE: GIF frames deleting script. - by rey - 04-03-2023, 10:05 AM
RE: GIF frames deleting script. - by Ofnuts - 04-03-2023, 02:41 PM
RE: GIF frames deleting script. - by rey - 04-03-2023, 05:18 PM
RE: GIF frames deleting script. - by Ofnuts - 04-03-2023, 09:23 PM
RE: GIF frames deleting script. - by teapot - 04-04-2023, 03:30 AM
RE: GIF frames deleting script. - by Ofnuts - 04-04-2023, 07:26 AM
RE: GIF frames deleting script. - by teapot - 04-05-2023, 02:21 AM

Forum Jump: