Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Artifact ID: | f70b40557b77e53b125287bbc11b90a771e2dfe2 |
|---|---|
| Page Name: | loop-code |
| Date: | 2012-03-27 12:47:34 |
| Original User: | saul |
| Parent: | 3334c6a1218951eeada05f93143aa2376a44b1f5 (diff) |
Content
The loop code is executed once for each frame being processed.
Typically, an effect's loop code would appear quite similar to the following:
&rfx_sendmsg (
qq{
(let* ((input-file (string-append "$curtmpdir" DIR-SEPARATOR "$in"))
(image (car (gimp-file-load RUN-NONINTERACTIVE input-file input-file)))
(layer (car (gimp-image-get-active-layer image))) )
;
; Your script code goes here, modifying the 'image'
;
(rfx-save-frame image "$out") )
}
);