f

On 1/10/06, Sven Neumann <[EMAIL PROTECTED]> wrote:
> Hi,
>
> "Fab Psycho" <[EMAIL PROTECTED]> writes:
>
> >      I'd like to write in a text file from a scm plugin.I didn't see
> >      any relevant fx in gimp function browser... Someone could give
> >      me a sample source for file opening, writing and closing ?
>
> >From the SIOD reference:
>
>  (fopen path mode)
>
>   Opens the file and returns a file stream.
>
>
>  (fwrite data stream)
>
>   Write the data, a string or byte-array to the stream. Or data can also
>   be a list of a string or byte-array and a numerical length.
>
>
>  (fclose stream)
>
>   Closes the open file stream.

Hmm, interesting.  I couldn't get this to work with script-fu under
1.2, but it seems to work fine under 2.2.

Rockwalrus
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to