Pixdata.toCsource

Generates C source code suitable for compiling images directly into programs.

GdkPixbuf ships with a program called gdk-pixbuf-csource, which offers a command line interface to this function.

More...
class Pixdata
toCsource
(
string name
,
GdkPixdataDumpType dumpType
)

Parameters

name string

used for naming generated data structures or macros

dumpType GdkPixdataDumpType

the kind of C source to be generated

Return Value

Type: StringG

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

Detailed Description

Deprecated: Use #GResource instead.

Meta