If you'd like to upload plug-ins, please create an account below. Otherwise (e.g. for download or commenting) you do not need one! Enjoy :-)
This script cycles through layers making the active layer the only visible layer (useful for hand-editing simple animations) similar to Layer > Stack > Select Next/Previous Layer.
| Attachment | Size |
|---|---|
| cycle-layer-visibility.scm | 2.9 KB |
Comments
Kudos! ...and Thanks ...and How'bout?
Hi, gigadude!
This script-fu works very well - responds as intuitively anticipated.
Thanks for the props! (authorship)
How about editing your original post to include an update heading? I only noticed the change due to an alteration to the post's title. (I have been monitoring for some sort of possible change; it did not "jump out at me.") How about images in "INDEXED*" modes? I tested your (modified) scripts with such - and they (indexed images) work on my system - on GIMP 2.6 for Linux anyway.
BTW: GIFF are both indexed and animated!
Yours,
Randall
Convert to indexed is a step
Convert to indexed is a step to perform AFTER saving the original as (rgb).xcf, even if the image is to be used (and so exported) as animated gif
Anyway you seems right i cannot see reason to limit the use of the script to RGB images
(except that is the correct mode to use in most of cases,convert UNSAVED images in other modes is usually a mistake)
Key bindings
Regarding:
;;; I typically bind these to Ctl+PgUp and Ctl+PgDn so I can do simple
;;; layer-based animations
I am running GIMP 2.6 on a Linux platform. How do you assign key bindings? I have searched the web - this site specifically. I am unsure as to how to go about specifying key bindings for a script or plug-in.
-Randall
Key Bindings
I answered my own question regarding keybindings. In case anyone else has the same question...
1) Open menu item: Edit -> Preferences
2) Select 'Interface'.
3) Under 'Keyboard Shortcuts', check the box labeled 'Use dynamic keyboard shortcuts'.
4) Close preferences dialog.
5) Find desired menu item, and highlight it (via hovering mouse cursor).
6) Press desired key combination.
Easy!
-Randall
Useful, indeed!
I downloaded this script-fu plug-in. It appropriately works well in concert with my recent posting "Guillotine into Layers" (useful for selecting guillotined regions for exporting). Have you considered adding additional functionality: "Select Top Layer Only" and "Select Bottom Layer Only"?
Yours,
Randall