It is currently 21 Jan 2018, 18:07

GIMP Python Fu ScriptsHow to access list of images and image's comment in Python Fu (Showcase | Slideshow)

Share your Python 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 access list of images and image's comment in Python Fu

Post#1 by trandoductin » 28 Sep 2016, 11:50


The below python code will grab list of images,
grab the first image,
then it's comment

Code: Select all

images = gimp.image_list()
myimage = images[0]
comment = pdb.gimp_image_get_parasite (myimage, "gimp-comment")
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 tim (1), User avatar gnerd (1), User avatar Pat625 (1)

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

Who is online

Users browsing this forum: No registered users and 3 guests