pdb.gimp_get_image_list()
returns a list of ids, which are 32bit integers, not a list of images. I 
know this as I tried in a
pygimp console (with two images open):
------------------------
( listLen, theList) = pdb.gimp_image_list()
print listLen
2
print theList
(3,2)
for item in theList:
    print pdb.gimp_image_get_filename( item )

 
Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/plug-ins/gtkcons.py", line 267, in run
    exec cmd in self.namespace
  File "<string>", line 2, in ?
TypeError: wrong parameter type

--------------------
The blurb calls the return value (number of images, list of image_ids).
So, what is the method to resolve image_id to an 'image' ?

Thanks,
Steven Howe

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to