added (in)equality operators for ImageFormat class