Don't crash when image size/fmt is empty.
Add method to Image to read in a image file.