RFX-GIMP

Artifact [272fd8fd16]
Login

Artifact 272fd8fd1602c05f32f12836d327212be00fa086:

Wiki page [default-preloop] by saul 2012-03-27 12:42:07.
D 2012-03-27T12:42:07.847
L default-preloop
P 5b329a99a8a7d795102ec1a47e67225f68f67eb6
U saul
W 1269
The latest version of 'default.preloop' can be downloaded from [http://chiselapp.com/user/saulgoode/repository/RFX-GIMP/artifact/f36b9336f409d7b2151422dd4ad703fbb2ea993a|default.preloop].

Pre-loop code is the code that gets executed once when an RFX filter is applied to a range of frames. In the case of RFX-GIMP filters, the pre-loop code typically performs the following steps:

<ul>
<li>Check if GIMP's Script-fu server is running and connect to it. If this connection fails then a new instance of GIMP (running Script-fu server) is started in the background.</li>
<li>Define a Perl subroutine, 'rfx_sendmsg', that sends messages to the Script-fu server and waits for the response.</li>
<li>Sends a message to the server that defines a Script-fu procedure. This procedure is to be used by [loop-code|loop code] when saving an individual frame.</li></ul>

This basic functionality is provided by the [http://chiselapp.com/user/saulgoode/repository/RFX-GIMP/artifact/6821f777fd6e17ebad5f2f716d01ca0130db5a0a|default.preloop] file, and including this default pre-loop code should be sufficient for most all RFX-GIMP filters. However, there is no reason a RFX-GIMP filter can't provide its own custom version of the pre-loop code if the filter needs to do so.
Z 79731377ce65431cb4d272b655a9320c