Extracted from Pike v7.4 release 341 at 2005-11-21.
pike.ida.liu.se
[Top]
predef::
Image
Image.Dims

Method Image.Dims.get_JPEG()


Method get_JPEG

array(int) Image.Dims.get_JPEG(Stdio.File f)

Description

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