update ImageFile and image_file_test (rotate and resize image)