Fixed png dimension parsing