Last active
October 20, 2024 05:32
-
-
Save brainstorm/ad3824f03fac986cd1e34d62ea49ea76 to your computer and use it in GitHub Desktop.
GIMP opacity slideshow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import time | |
from gimpfu import * | |
def opacity_slideshow(image, drawable):· | |
layer = image.layers[0] | |
for opacity_pct in range(0, 101, 3): | |
pdb.gimp_layer_set_opacity(layer, opacity_pct) | |
time.sleep(0.1) | |
gimp.displays_flush() | |
register( | |
"python_fu_opacity_slideshow", | |
"Opacity slideshow", | |
"Turn opacity to see through between layers progressively", | |
"brainstorm", | |
"Open source (GPLv3)", | |
"2024", | |
"<Image>/Filters/PCB Reversing/Opacity slideshow", | |
"*", | |
[], | |
[], | |
opacity_slideshow) | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment