{"meta":{"ns":"GdkPixdata","version":"2.0","generator":"gi-docgen","generator-version":"2025.4"},"symbols":[{"type":"bitfield","name":"PixdataDumpType","ctype":"GdkPixdataDumpType","summary":"An enumeration which is used by gdk_pixdata_to_csource() to determine the form of C source to be generated. The three ...","deprecated":"2.32"},{"type":"bitfield","name":"PixdataType","ctype":"GdkPixdataType","summary":"An enumeration containing three sets of flags for a #GdkPixdata struct: one for the used colorspace, one for the ...","deprecated":"2.32"},{"type":"constant","name":"PIXBUF_MAGIC_NUMBER","ident":"GDK_PIXBUF_MAGIC_NUMBER","summary":"Magic number for #GdkPixdata structures.","deprecated":null},{"type":"constant","name":"PIXDATA_HEADER_LENGTH","ident":"GDK_PIXDATA_HEADER_LENGTH","summary":"The length of a #GdkPixdata structure without the @pixel_data pointer.","deprecated":"2.32"},{"type":"function","name":"pixbuf_from_pixdata","ident":"gdk_pixbuf_from_pixdata","summary":"Converts a `GdkPixdata` to a `GdkPixbuf`.  If `copy_pixels` is `TRUE` or if the pixel data is run-length-encoded, the ...","deprecated":"2.32"},{"type":"method","name":"deserialize","type_name":"Pixdata","ident":"gdk_pixdata_deserialize","summary":"Deserializes (reconstruct) a #GdkPixdata structure from a byte stream.  The byte stream consists of a straightforward writeout of ..."},{"type":"method","name":"from_pixbuf","type_name":"Pixdata","ident":"gdk_pixdata_from_pixbuf","summary":"Converts a `GdkPixbuf` to a `GdkPixdata`.  If `use_rle` is `TRUE`, the pixel data is run-length encoded into newly-allocated ..."},{"type":"method","name":"serialize","type_name":"Pixdata","ident":"gdk_pixdata_serialize","summary":"Serializes a #GdkPixdata structure into a byte stream. The byte stream consists of a straightforward writeout of the #GdkPixdata ..."},{"type":"method","name":"to_csource","type_name":"Pixdata","ident":"gdk_pixdata_to_csource","summary":"Generates C source code suitable for compiling images directly into programs.  GdkPixbuf ships with a program called `gdk-pixbuf-csource`, ..."},{"type":"record","name":"Pixdata","ctype":"GdkPixdata","summary":"A pixel buffer suitable for serialization and streaming.  Using `GdkPixdata`, images can be compiled into an application, making ...","deprecated":"2.32"}],"terms":{}}