Gimp.export_comment

function export_comment(): Boolean {
    // Gjs wrapper for gimp_export_comment()
}
  

Returns whether file plug-ins should default to exporting the image's comment.

Since 3.0

Returns

TRUE if preferences are set to export the comment.