ImageFormat test.