array(int) get_JPEG(Stdio.File f)
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.