Method SaveAsPnm
SaveAsPnm(string)
Saves the image in PNM format to the specified file path. GRAY8 is saved as PGM (P5), RGB24 as PPM (P6), RGBA32 as PAM (P7).
public bool SaveAsPnm(string filePath)
Parameters
filePathstringThe file path to save the image to.
Returns
- bool
True if the image was saved successfully; otherwise, false.
Exceptions
- ObjectDisposedException
Thrown if this instance has been disposed.