Grx.query_pnm_data
@accepts([guint8], Grx.PnmFormat, int, int, int) @returns(bool) def query_pnm_data(data, format, width, height, maxval): # Python wrapper for grx_query_pnm_data()
Query format, width and height data from a PNM buffer
- data
The image data
- format
the Grx.PnmFormat of the file
- width
return pnm width
- height
return pnm height
- maxval
max color component value
- Returns