04-01-2022, 08:32 AM
(This post was last modified: 04-01-2022, 08:33 AM by billalmasum93.)
(04-01-2022, 04:41 AM)PixLab Wrote: file-pdf-save-multi requires an array of image ids and it seems you don't have it (your #comment I did strike shows you tried though)
images = gimp.image_list()
# num_images, image_ids = pdb.gimp_image_list()
pdb.file_pdf_save_multi(len(images), images, False, False, False, filename, filename)
you should have something alike
images = gimp.image_list()
images_ids = [img.ID for img in images]
pdb.file_pdf_save_multi(len(images), images_ids, False, False, False, filename, filename)
https://www.gimpusers.com/forums/gimp-us...save-multi
there is also an interesting discussion there ➤ http://gimpchat.com/viewtopic.php?f=9&t=12418
Thank you, it worked. I was getting error with pdb.gimp_image_list()
(04-01-2022, 07:44 AM)rich2005 Wrote: There is a reference to python3 in the error ? Maybe a conflict with Gimp python2.7
Can export now. I mainly needed to know about image.ID it seems. I forgot about it