GdkPixbuf* gdk_pixbuf_new ( GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height )
Creates a new
GdkPixbuf structure and allocates a buffer for it.
If the allocation of the buffer failed, this function will return
The buffer has an optimal rowstride. Note that the buffer is not cleared; you will have to fill it completely yourself.
Color space for image.
Whether the image should have transparency information.
Number of bits per color sample.
Width of image in pixels, must be > 0
Height of image in pixels, must be > 0
A newly-created pixel buffer.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|
|The return value can be |