How do I save (export) all layers with gimp's script fu?

前端 未结 3 1196
旧时难觅i
旧时难觅i 2021-02-07 21:11

With gimp fu, I can save the content of one layer (at least, that is how I interprete the definition of gimp_file_save because it takes the parameter

3条回答
  •  梦毁少年i
    2021-02-07 22:03

    What I found easiest was to flatten the image then just save using the first layer:

    img.flatten()
    pdb.gimp_file_save(img, img.layers[0], 'image.jpg', '?')
    

提交回复
热议问题