Pixdata


Object Hierarchy:

Object hierarchy for Pixdata

Description:

[ CCode ( has_type_id = false ) ]
[ Version ( deprecated = true , deprecated_since = "2.32" ) ]
public struct Pixdata

Warning: Pixdata is deprecated since 2.32.

A pixel buffer suitable for serialization and streaming.

Note:

`GdkPixdata` should not be used any more. `GResource` should be used to save the original compressed images inside the program's binary

Using `GdkPixdata`, images can be compiled into an application, making it unnecessary to refer to external image files at runtime.

`GdkPixbuf` includes a utility named `gdk-pixbuf-csource`, which can be used to convert image files into `GdkPixdata` structures suitable for inclusion in C sources. To convert the `GdkPixdata` structures back into a `GdkPixbuf`, use `gdk_pixbuf_from_pixdata()`.


Namespace: Gdk
Package: gdk-pixbuf-2.0

Content:

Methods:

Fields: