You are here

adding parasites to image with python

Some help with adding a parasite to one image? i'm trying from the console with this code:
img=gimp.image_list()[0]
p=gimp.Parasite('ppp',3,'loquesea')
pdb.gimp_image_attach_parasite(img, p)

What is the right way to do these work?
thank's for the responses in advance

No answers yet

Subscribe to Comments for "adding parasites to image with python"