gimp/devel-docs/libgimp/tmpl/gimpexport.sgml

52 lines
1.1 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>
<!-- ##### ENUM GimpExportReturnType ##### -->
<para>
</para>
<!-- ##### FUNCTION gimp_export_image ##### -->
<para>
</para>
@image_ID:
@drawable_ID:
@format_name:
@capabilities:
@Returns: