isSameContentAs method
Returns whether other has identical image metadata, grid size, version,
format, and underlying rgbaPixels buffer identity.
Implementation
bool isSameContentAs(KittyImageData other) =>
identical(this, other) ||
((imageId & 0xFFFFFFFF) == (other.imageId & 0xFFFFFFFF) &&
pixelWidth == other.pixelWidth &&
pixelHeight == other.pixelHeight &&
gridCols == other.gridCols &&
gridRows == other.gridRows &&
version == other.version &&
format == other.format &&
identical(rgbaPixels, other.rgbaPixels));