Method Image.PNM.decode()
- Method decode
object decode(string data)
- Description
-
Decodes PNM (PBM/PGM/PPM) data and creates an image object.
- Returns
-
the decoded image as an image object
- Note
-
This function may throw errors upon illegal PNM data.
- See also