read method should return nothing if no image was loaded