PNGMetadata (PNG info)

function PNGMetadata(imgFile: string): boolean;

This function extract various meta-information about a PNG image from the imgFile file.

Example

{
  mdata = PNGMetadata('./self_portrait.png');
  Log(JSON.stringify(mdata));
}

The example above produces a result similar to this:

{
  "Valid": true,
  "Height": 360,  
  "Width": 480
}