mirror of https://github.com/GNOME/gimp.git
64 lines
1.4 KiB
Plaintext
64 lines
1.4 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
gimpexport
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Export an image before it is saved.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
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.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ENUM GimpExportCapabilities ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@GIMP_EXPORT_CAN_HANDLE_RGB:
|
|
@GIMP_EXPORT_CAN_HANDLE_GRAY:
|
|
@GIMP_EXPORT_CAN_HANDLE_INDEXED:
|
|
@GIMP_EXPORT_CAN_HANDLE_BITMAP:
|
|
@GIMP_EXPORT_CAN_HANDLE_ALPHA:
|
|
@GIMP_EXPORT_CAN_HANDLE_LAYERS:
|
|
@GIMP_EXPORT_CAN_HANDLE_LAYERS_AS_ANIMATION:
|
|
@GIMP_EXPORT_CAN_HANDLE_LAYER_MASKS:
|
|
@GIMP_EXPORT_NEEDS_ALPHA:
|
|
|
|
<!-- ##### ENUM GimpExportReturn ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@GIMP_EXPORT_CANCEL:
|
|
@GIMP_EXPORT_IGNORE:
|
|
@GIMP_EXPORT_EXPORT:
|
|
|
|
<!-- ##### FUNCTION gimp_export_image ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@image_ID:
|
|
@drawable_ID:
|
|
@format_name:
|
|
@capabilities:
|
|
@Returns:
|
|
|
|
|