Wed Feb 03, 2021 6:07 pm
pdb.gimp_xcf_save(RUN_NONINTERACTIVE, image, None, export_file_psd, export_file_psd)
pdb.gimp_file_save(image, image, export_file_psd, '?')
Thu Feb 04, 2021 5:53 am
Thu Feb 04, 2021 12:51 pm
ofnuts wrote:You have to create a new drawable with whatever you want to export. Two possibilities:
1) gimp_layer_new_from_visible and export the result
2) duplicate the image, flatten it, and export its single layer.