www. gimpusers. com # # PDF file-pdf-save-multi python-fu example # TESTED ON: # GIMP 2 10 12 Python Console # Python 2 7 16 (default, May 28 2019, 08:10:12) [GCC 8 3 0 64 bit (AMD64)] # # Get image array images = gimp image_list() # # Optionally sort by filename to order pages by filename # images sort(key=lambda x: x filename, reverse=False) # # Extract ids from image array images_ids = [img ID for img in