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.

1 Answer 1


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):

for layer in image.layers:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.