title: Fastest way to read PNG metadata in PHP
body: <p>I would like to extract two fields from a PNG file. Namely, the geometry field and one of the fields from the metadata.</p>
  
  <p>What is the fastest way I could go about doing this? I have benchmarked my script that currently performs this and by far the slowest action is executing the actual ImageMagick "identify" program on the PNG file. (.4 seconds vs .0001 seconds to parse the outputted array for the geometry and 8.39E-5 seconds to parse key phrases from the metadata)</p>
  
  <p>Thanks in advance for any help,</p>
  
  <p>Jonathan</p>