Grx.query_pnm_file
function query_pnm_file(filename: String): [ok: Boolean, format: Grx.PnmFormat, width: Number(gint), height: Number(gint), maxval: Number(gint)] {
// Gjs wrapper for grx_query_pnm_file()
}
Query format, width and height data from a PNM file
- filename
Name of pnm file
- ok
true on success, otherwise false
- format
the Grx.PnmFormat of the file
- width
return pnm width
- height
return pnm height
- maxval
max color component value