Re: [SCM] text file management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



f

On 1/10/06, Sven Neumann <sven@xxxxxxxx> wrote:
> Hi,
>
> "Fab Psycho" <psychorosco@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux