TImageEnIO.SaveToStreamPXM
Declaration
procedure SaveToStreamPXM(Stream: TStream);
Description
Save the current image to a stream in PBM, PGM or PPM format.
If the PBM (Portable Bitmap) contains only 1 bpp images (black/white), then the values must be Params.BitsPerPixel=1 and Params.SamplesPerPixel=1.
If the PGM (Portable Graymap) contains only 8 bpp images (gray scale), then the values must be Params.BitsPerPixel=8 and Params.SamplesPerPixel=1.
If the PPM (Portable Pixmap) contains only 24 bpp images (true color), then the values must be Params.BitsPerPixel=8 and Params.SamplesPerPixel=3.
Note: To abort while saving set
Aborting to true