Parses an image file enough to extract the width and height of the bitmap.
filename |
the file to check |
width |
return location for the bitmap width, or null |
height |
return location for the bitmap height, or null |
true if the image was successfully parsed |