Pixbuf.this
- this(GdkPixbuf* gdkPixbuf)
- this(GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height)
- this(char* data, GdkColorspace colorspace, int hasAlpha, int bitsPerSample, int width, int height, int rowstride, GdkPixbufDestroyNotify destroyFn, void* destroyFnData)
- this(string[] data)
- this(ubyte[] data, int copyPixels)
- this(Pixbuf srcPixbuf, int srcX, int srcY, int width, int height)
- this(string filename)
- this(string filename, int width, int height)
- this(string filename, int width, int height, int preserveAspectRatio)
- this(InputStream stream, Cancellable cancellable)
- this(AsyncResultIF asyncResult)
- this(InputStream stream, int width, int height, int preserveAspectRatio, Cancellable cancellable)
gdk Pixbuf Pixbuf
constructorsfunctionsmixinsstatic functionsvariables
Create a GdkPixbuf from a flat representation that is suitable for storing as inline data in a program. This is useful if you want to ship a program with images, but don't want to depend on any external files. gdk-pixbuf ships with a program called gdk-pixbuf-csource which allows for conversion of GdkPixbufs into such a inline representation. In almost all cases, you should pass the --raw flag to