gimpexport Export an image before it is saved. This function should be called by all save_plugins unless they are able to save all image formats the GIMP knows about. It takes care of asking the user if she wishes to export the image to a format the save_plugin can handle. It then performs the necessary conversions (e.g. Flatten) on a copy of the image so that the image can be saved without changing the original image. The capabilities of the save_plugin are specified by combining #GimpExportCapabilities using a bitwise OR. Make sure you have initialized GTK+ before you call this function as it will most probably have to open a dialog. @GIMP_EXPORT_CAN_HANDLE_RGB: @GIMP_EXPORT_CAN_HANDLE_GRAY: @GIMP_EXPORT_CAN_HANDLE_INDEXED: @GIMP_EXPORT_CAN_HANDLE_ALPHA: @GIMP_EXPORT_CAN_HANDLE_LAYERS: @GIMP_EXPORT_CAN_HANDLE_LAYERS_AS_ANIMATION: @GIMP_EXPORT_NEEDS_ALPHA: @GIMP_EXPORT_CANCEL: @GIMP_EXPORT_IGNORE: @GIMP_EXPORT_EXPORT: @image_ID: @drawable_ID: @format_name: @capabilities: @Returns: