Pixdata.toCsource

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

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

More...
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: a newly-allocated string containing the C source form of @pixdata.

Detailed Description

Deprecated: Use #GResource instead.

Meta