TestStreamIsXPM function
Examines values in the specified stream to determine if it contains a .XPM image.
Declaration
function TestStreamIsXPM(const AStream: TStream): BooleanArguments
AStream | TStream instance examined in the routine. |
Function result
True when .XPM signature is found in the stream.Description
Skip comments and searches for the 'static [const] [unsigned] char*' statement in the stream.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
