use ImagePath.convert instead of to_image_path