ImageEn, unit imageenio

TImageEnIO.LoadFromFilePXM

TImageEnIO.LoadFromFilePXM


Declaration

function LoadFromFilePXM(const FileName: WideString): Boolean;


Description

Loads an image from a PBM, PGM or PPM file.
FileName is the file name including extension.
Result will be false if the file is not a recognized file type (and Aborting will be true). Loading errors due to a file not being available will raise an exception.

Note: You can abort loading by setting Aborting to true