Mobile app version of vmapp.org
Login or Join
Murray976

: How do I operate on multiple layers at once in GIMP? I have a image file which has a large number of card images, each in its own layer. I would like to crop these images to the proper

@Murray976

Posted in: #Crop #Gimp #Layers

I have a image file which has a large number of card images, each in its own layer. I would like to crop these images to the proper size with rounded-rectangle corners. (I got the images as formatted for printing, with extra bleed.) I can easily crop the entire image to a rectangle, and I can make a selection that has just the triangular corner regions. But how do I clear all the triangular corners simultaneously in GIMP, without going through each layer individually? Do I need to write a script to do this?

I am using GIMP 2.8.20 on Debian GNU/Linux.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray976

1 Comments

Sorted by latest first Latest Oldest Best

 

@Dunderdale640

The script already exists: clear-layers.

If you have one single image, you can also do it directly in the Python console (Filters>Python-fu>Console):

image=gimp.image_list()[0]
for layer in image.layers:
pdb.gimp_edit_clear(layer)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme