Method

GdkPixbuf.Pixbuf.savev

Declaration [src]

gboolean
gdk_pixbuf_savev (
  GdkPixbuf* pixbuf,
  const char* filename,
  const char* type,
  char** option_keys,
  char** option_values,
  GError** error
)

Description [src]

Vector version of gdk_pixbuf_save().

Saves pixbuf to a file in type, which is currently “jpeg”, “png”, “tiff”, “ico” or “bmp”.

If error is set, FALSE will be returned.

See gdk_pixbuf_save() for more details.

Parameters

filename const char*
 

name of file to save.

 The data is owned by the caller of the function
 The string is a file system path, using the OS encoding
type const char*
 

name of file format.

 The data is owned by the caller of the function
 The string is a NUL terminated UTF-8 string
option_keys An array of utf8
 

name of options to set

 Can be NULL
 The data is owned by the caller of the function
option_values An array of utf8
 

values for named options

 Can be NULL
 The data is owned by the caller of the function

Return value

Returns: gboolean

whether an error was set