Method Image.Dims.get_PNG()


Method get_PNG

array(int)|zero get_PNG(Stdio.BlockFile f)

Description

Reads the dimensions from a PNG file and returns an array with width and height, or if the file isn't a valid image, 0.