function PNGMetadata(imgFile)


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


Example:

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


Produces an output like this:


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