Re: [Gimp-user] How are parasites represented in Script-Fu?
On Mon, Oct 4, 2010 at 7:29 PM, saulgo...@flashingtwelve.brickfilms.com wrote: Quoting Rob Antonishen rob.antonis...@gmail.com: AFAIK, only strings are supported and are passed in as a list. First parameter is the parasite name and the third is the string value. Not sure what the seconf parameter is but I always use the number 1: (gimp-parasite-attach (list parasite-name 1 parasite value)) The second parameter is the persistence/UNDOability flag. I covered the possible values in the following thread: http://www.mail-archive.com/gimp-user%40lists.xcf.berkeley.edu/msg20099.html Thanks, Rob and Saul, for explaining the way the Script-Fu interpreter recognizes any parasite. I believe that, without your help, it would have been a little difficult to understand. Greetings. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] How are parasites represented in Script-Fu?
Quoting Rob Antonishen rob.antonis...@gmail.com: On Sun, Oct 3, 2010 at 9:49 AM, Gino D wrote: Hi Currently, what type of data should be used to enter a parasite as a parameter within those Script-fu procedures that handle such an object? By chance, can you give me any examples? AFAIK, only strings are supported and are passed in as a list. First parameter is the parasite name and the third is the string value. Not sure what the seconf parameter is but I always use the number 1: (gimp-parasite-attach (list parasite-name 1 parasite value)) The second parameter is the persistence/UNDOability flag. I covered the possible values in the following thread: http://www.mail-archive.com/gimp-user%40lists.xcf.berkeley.edu/msg20099.html For images and drawables, I would assume persistence may also be dependent upon the file being saved in XCF format (perhaps other formats permit parasite data to be attached as EXIF data but I wouldn't count on it). For vectors/paths, there would be the additional issue of whether the path itself was recoverable from the file. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] How are parasites represented in Script-Fu?
Hi Currently, what type of data should be used to enter a parasite as a parameter within those Script-fu procedures that handle such an object? By chance, can you give me any examples? In order to figure it out, I have done several tests through the TinyScheme Console, from time to time using lists, vectors or strings, but none of them seems to fit. Thanks in advance. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] How are parasites represented in Script-Fu?
On Sun, Oct 3, 2010 at 9:49 AM, Gino D wrote: Hi Currently, what type of data should be used to enter a parasite as a parameter within those Script-fu procedures that handle such an object? By chance, can you give me any examples? AFAIK, only strings are supported and are passed in as a list. First parameter is the parasite name and the third is the string value. Not sure what the seconf parameter is but I always use the number 1: (gimp-parasite-attach (list parasite-name 1 parasite value)) -Rob A -Rob A ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user