plug-ins: port file-png-save to begin_export()/end_export()
which removes quite some boilerplate. Also remove the boolean "profile_saved" return value of save_image() and instead modify the config. Add a "bits_per_sample" return value and set value on the metadata instead of always "8".
Showing with 19 additions and 77 deletions