read image for testing