Read PNG dimensions from a File or Blob