(self, other)
return self.data == other.data and self.width == other.width and self.height == other.height and self.pixelsize == other.pixelsize
Mostly used for testing
Mostly used for testing
Mostly used for testing
def __eq__(self, other):
        """
        Mostly used for testing
        """
        return self.data == other.data and self.width == other.width and self.height == other.height and self.pixelsize == other.pixelsize
def __eq__ ( self , other ) : return self . data == other . data and self . width == other . width and self . height == other . height and self . pixelsize == other . pixelsize