Added ImageFormat functions