On the GIMP interface one can 'Export to PNG' to save a PNG copy of your work, with layers correctly merged. In Script-Fu, however, if one does
(let*
(
(
theMergedLayer
(car (gimp-image-merge-visible-layers theImage EXPAND-AS-NECESSARY))
)
)
(file-png-save-defaults RUN-NONINTERACTIVE theImage theMergedLayer "myfile.png" "myfile.png")
)
it happens that one can not continue editing the layers separatedly.
I need to save the visible as PNG but continue editing in Script-Fu on separated layers.
Could you help?
Thanks