Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Image
Image.Dims

Method Image.Dims.get_PNG()


Method get_PNG

array(int) Image.Dims.get_PNG(Stdio.File 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.