D 2012-03-27T12:47:34.829 L loop-code P 3334c6a1218951eeada05f93143aa2376a44b1f5 U saul W 532 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") )
    }
  );
Z 1b07e48f7e14f81abe33b6ed838c4e5e