{"meta":{"ns":"GdkPixdata","version":"2.0","generator":"gi-docgen","generator-version":"2021.3"},"symbols":[{"type":"bitfield","name":"PixdataDumpType","ctype":"GdkPixdataDumpType","summary":"An enumeration which is used by gdk_pixdata_to_csource() to determine ..."},{"type":"bitfield","name":"PixdataType","ctype":"GdkPixdataType","summary":"An enumeration containing three sets of flags for a ..."},{"type":"constant","name":"PIXBUF_MAGIC_NUMBER","ident":"GDK_PIXBUF_MAGIC_NUMBER","summary":"Magic number for #GdkPixdata structures."},{"type":"constant","name":"PIXDATA_HEADER_LENGTH","ident":"GDK_PIXDATA_HEADER_LENGTH","summary":"The length of a #GdkPixdata structure without the @pixel_data pointer."},{"type":"function","name":"pixbuf_from_pixdata","ident":"gdk_pixbuf_from_pixdata","summary":"Converts a `GdkPixdata` to a `GdkPixbuf`.  If `copy_pixels` ..."},{"type":"record","name":"Pixdata","ctype":"GdkPixdata","summary":"A pixel buffer suitable for serialization and streaming.  ..."},{"type":"method","name":"deserialize","type_name":"Pixdata","ident":"gdk_pixdata_deserialize","summary":"Deserializes (reconstruct) a #GdkPixdata structure from a byte stream. ..."},{"type":"method","name":"from_pixbuf","type_name":"Pixdata","ident":"gdk_pixdata_from_pixbuf","summary":"Converts a `GdkPixbuf` to a `GdkPixdata`.  If `use_rle` ..."},{"type":"method","name":"serialize","type_name":"Pixdata","ident":"gdk_pixdata_serialize","summary":"Serializes a #GdkPixdata structure into a byte stream. The ..."},{"type":"method","name":"to_csource","type_name":"Pixdata","ident":"gdk_pixdata_to_csource","summary":"Generates C source code suitable for compiling images directly ..."}],"terms":{"gdkpixdatadumptype":[0],"type":[0,1],"pixdata":[0,1,4,5,6],"dump":[0],"flag":[0,1],"mutual":[0],"three":[0,1],"which":[0,1,5,9],"form":[0,1],"gener":[0,9],"can":[0,5],"an":[0,1,5],"determin":[0],"enumer":[0,1],"c":[0,5,9],"element":[0],"option":[0],"exclus":[0],"freeli":[0],"valu":[0,1],"remain":[0],"ad":[0],"sourc":[0,5,9],"us":[0,1,5],"pixdata_stream":[0],"stream":[0,5,6,8],"":[0,1,4,5,6,7,9],"data":[0,1,4,7],"string":[0],"serial":[0,5,8],"byte":[0,1,6,8],"a":[0],"contain":[0,1],"singl":[0,1],"structur":[0,2,3,5,6,8],"network":[0,6,8],"pixbuf":[0,4,7],"order":[0,6,8],"pixdata_struct":[0],"need":[0],"definit":[0],"gdk-pixdata.h":[0],"from":[0,4,6,7],"macros":[0],"<function>*_bytes_per_pixel</function>":[0],"<function>*_rowstride</function>":[0],"imag":[0,5,9],"<function>*_pixel_data</function>":[0],"<function>*_width</function>":[0],"<function>*_rle_pixel_data</function>":[0],"macro":[0],"<function>*_height</function>":[0],"gtypes":[0],"glib":[0],"standard":[0],"instead":[0],"ctypes":[0],"static":[0],"symbol":[0],"const":[0],"rle_decoder":[0],"size":[0],"encod":[0,1,7],"provid":[0],"run-length":[0,1,7],"decod":[0],"rle_data":[0],"bpp</function>":[0],"<function>*_run_length_decodeimage_buf":[0],"gdkpixdatatype":[1],"on":[1],"set":[1],"width":[1],"pixel":[1,4,5,7],"colorspac":[1],"struct":[1],"sampl":[1],"color_type_rgb":[1],"red":[1],"blue":[1],"green":[1],"ha":[1],"each":[1],"color_type_rgba":[1],"alpha":[1],"color_type_mask":[1],"colortyp":[1],"mask":[1],"enum":[1],"sample_width_8":[1],"8":[1],"bit":[1],"sample_width_mask":[1],"encoding_raw":[1],"raw":[1],"encoding_rle":[1],"high":[1],"it":[1],"up":[1],"store":[1],"constant":[1],"127":[1],"consist":[1,6,8],"preced":[1],"mai":[1,6],"length":[1,3],"repeat":[1],"must":[1],"long":[1],"run":[1],"encoding_mask":[1],"gdk_pixbuf_magic_number":[2],"PIXBUF":[2],"NUMBER":[2],"MAGIC":[2],"number":[2],"magic":[2],"gdk_pixdata_header_length":[3],"LENGTH":[3],"HEADER":[3],"PIXDATA":[3],"pointer":[3,7],"without":[3],"gdk_pixbuf_from_pixdata":[4],"gdkpixdata":[4,5,6,7],"run-length-encod":[4],"otherwis":[4],"copi":[4],"reus":[4],"copy_pixel":[4],"memori":[4,7],"newly-alloc":[4,7],"true":[4,7],"convert":[4,5,7],"gdkpixbuf":[4,5,7,9],"`gdk_pixbuf_from_pixdata`":[5],"compil":[5,9],"applic":[5],"suitabl":[5,9],"`gdk-pixbuf-csource`":[5,9],"unnecessari":[5],"refer":[5],"name":[5],"util":[5],"includ":[5],"buffer":[5],"back":[5],"inclus":[5],"runtim":[5],"extern":[5],"make":[5],"file":[5],"gdk_pixdata_deserialize":[6],"deseri":[6],"plu":[6,8],"to":[6,8],"reconstruct":[6],"writeout":[6,8],"gdk_pixbuf_error_unknown_typ":[6],"field":[6,8],"function":[6,9],"fail":[6],"pixel_data":[6],"check":[6],"straightforward":[6,8],"valid":[6],"gdk_pixbuf_error_corrupt_imag":[6],"content":[6],"point":[6,8],"gdk_pixdata_from_pixbuf":[7],"use_rl":[7],"return":[7],"gdk_pixdata_serialize":[8],"gdk_pixdata_to_csource":[9],"csourc":[9],"code":[9],"offer":[9],"call":[9],"line":[9],"directli":[9],"program":[9],"command":[9],"interfac":[9],"ship":[9]}}