Reads image from open filehandle