It is currently 21 Jan 2018, 06:08

GIMP Scheme Fu ScriptsHow to get at image's comment property in scheme (Showcase | Slideshow)

Share your Scheme Fu scripts for GIMP here
Post Reply
User avatar
trandoductin

Forum Member
View: Showcase | Slideshow
Topic Posts: 1/1
Posts: 189
Joined: 25 Sep 2016, 17:21
Cash on hand: 317.58 GLP
Gender: Guy
Location: Canada
Website: https://gimplearn.net
x 7
Contact:
Canada

How to get at image's comment property in scheme

Post#1 by trandoductin » 27 Sep 2016, 15:13


it's a parasite called "gimp-comment"
use

Code: Select all

(gimp-image-get-parasite image "gimp-comment")
but this returns something like
(("gimp-comment" 1 "this is a comment"))
so to get at the comment parasite we have to do something like

Code: Select all

(set! comment (list-ref (car (gimp-image-get-parasite image "gimp-comment")) 2))
0 x



T.
please don't message me, message tim(admin) instead as I am tim(admin). I don't check this account very often.
To message tim(admin), click here. Thanks.

Registered members enjoy ads-free content
Post Reply

Last 20 Members Who Visited This Topic

User avatar Steve Reid (1), User avatar gnerd (1), User avatar Pat625 (1)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: RJKD
2: Ella
3: Ella
4: Anonymous
5: Issabella
6: gnerd
7: RJKD

Who is online

Users browsing this forum: No registered users and 1 guest