### Enumeration

# GdkPixdata PixdataDumpType

deprecated: 2.32

#### Declaration

    flags GdkPixdata.PixdataDumpType

#### Description [src]

An enumeration which is used by `gdk_pixdata_to_csource()` to determine the form of C source to be generated. The three values `GDK_PIXDATA_DUMP_PIXDATA_STREAM`, `GDK_PIXDATA_DUMP_PIXDATA_STRUCT` and `GDK_PIXDATA_DUMP_MACROS` are mutually exclusive, as are `GDK_PIXBUF_DUMP_GTYPES` and `GDK_PIXBUF_DUMP_CTYPES`. The remaining elements are optional flags that can be freely added.

Deprecated since: 2.32

Please do not use it in newly written code.

#### Members

`GDK_PIXDATA_DUMP_PIXDATA_STREAM`

  Generate pixbuf data stream (a single string containing a serialized `GdkPixdata` structure in network byte order).

  - Value: `0`
  - Available since: 2.0
`GDK_PIXDATA_DUMP_PIXDATA_STRUCT`

  Generate `GdkPixdata` structure (needs the `GdkPixdata` structure definition from gdk-pixdata.h).

  - Value: `1`
  - Available since: 2.0
`GDK_PIXDATA_DUMP_MACROS`

  Generate <function>_ROWSTRIDE</function>, <function>_WIDTH</function>, <function>_HEIGHT</function>, <function>_BYTES_PER_PIXEL</function> and <function>_RLE_PIXEL_DATA</function> or <function>_PIXEL_DATA</function> macro definitions for the image.

  - Value: `2`
  - Available since: 2.0
`GDK_PIXDATA_DUMP_GTYPES`

  Generate GLib data types instead of standard C data types.

  - Value: `0`
  - Available since: 2.0
`GDK_PIXDATA_DUMP_CTYPES`

  Generate standard C data types instead of GLib data types.

  - Value: `256`
  - Available since: 2.0
`GDK_PIXDATA_DUMP_STATIC`

  Generate static symbols.

  - Value: `512`
  - Available since: 2.0
`GDK_PIXDATA_DUMP_CONST`

  Generate const symbols.

  - Value: `1024`
  - Available since: 2.0
`GDK_PIXDATA_DUMP_RLE_DECODER`

  Provide a <function>*_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp)</function> macro definition to decode run-length encoded image data.

  - Value: `65536`
  - Available since: 2.0