override fun equals()

in plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/util/pngj/ImageInfo.kt [221:233]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other == null) return false
        if (this::class != other::class) return false

        other as ImageInfo
        if (alpha != other.alpha) return false
        if (bitDepth != other.bitDepth) return false
        if (cols != other.cols) return false
        if (greyscale != other.greyscale) return false
        if (indexed != other.indexed) return false
        return rows == other.rows
    }