Pixdata.toCsource

Generates C source code suitable for compiling images directly into programs. gdk-pixbuf ships with a program called gdk-pixbuf-csource which offers a command line interface to this function.

class Pixdata
toCsource

Parameters

name string

used for naming generated data structures or macros.

dumpType GdkPixdataDumpType

a GdkPixdataDumpType determining the kind of C source to be generated.

Return Value

Type: StringG

a newly-allocated string containing the C source form of pixdata.

Meta