get_size_from_file


Description:

public static bool get_size_from_file (string filename, out int width, out int height)

Parses an image file enough to extract the width and height of the bitmap.

Parameters:

filename

the file to check

width

return location for the bitmap width, or null

height

return location for the bitmap height, or null

Returns:

true if the image was successfully parsed