2000-11-14 16:37:32 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
2001-11-14 22:39:35 +00:00
|
|
|
File saving
|
2000-11-14 16:37:32 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2001-11-14 22:39:35 +00:00
|
|
|
Saving a pixbuf to a file.
|
2000-11-14 16:37:32 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_savev ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixbuf:
|
|
|
|
@filename:
|
|
|
|
@type:
|
|
|
|
@option_keys:
|
|
|
|
@option_values:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_save ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixbuf:
|
|
|
|
@filename:
|
|
|
|
@type:
|
|
|
|
@error:
|
|
|
|
@Varargs:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2004-01-07 01:58:40 +00:00
|
|
|
<!-- ##### USER_FUNCTION GdkPixbufSaveFunc ##### -->
|
|
|
|
<para>
|
|
|
|
Specifies the type of the function passed to
|
|
|
|
gdk_pixbuf_save_to_callback(). It is called once for each block of
|
|
|
|
bytes that is "written" by gdk_pixbuf_save_to_callback(). If
|
|
|
|
successful it should return %TRUE. If an error occurs it should set
|
|
|
|
@error and return %FALSE, in which case gdk_pixbuf_save_to_callback()
|
|
|
|
will fail with the same error.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@buf: bytes to be written.
|
|
|
|
@count: number of bytes in @buf.
|
|
|
|
@error: A location to return an error.
|
|
|
|
@data: user data passed to gdk_pixbuf_save_to_callback().
|
|
|
|
@Returns: %TRUE if successful, %FALSE (with @error set) if failed.
|
|
|
|
@Since: 2.4
|
2004-01-22 06:48:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_save_to_callback ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixbuf:
|
|
|
|
@save_func:
|
|
|
|
@user_data:
|
|
|
|
@type:
|
|
|
|
@error:
|
|
|
|
@Varargs:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_save_to_callbackv ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixbuf:
|
|
|
|
@save_func:
|
|
|
|
@user_data:
|
|
|
|
@type:
|
|
|
|
@option_keys:
|
|
|
|
@option_values:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_save_to_buffer ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixbuf:
|
|
|
|
@buffer:
|
|
|
|
@buffer_size:
|
|
|
|
@type:
|
|
|
|
@error:
|
|
|
|
@Varargs:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_save_to_bufferv ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixbuf:
|
|
|
|
@buffer:
|
|
|
|
@buffer_size:
|
|
|
|
@type:
|
|
|
|
@option_keys:
|
|
|
|
@option_values:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|