Added ImageFormat class