mirror of
https://github.com/T8RIN/ImageToolbox.git
synced 2025-05-17 21:45:59 +08:00
fix
This commit is contained in:
@ -15,6 +15,8 @@
|
||||
* along with this program. If not, see <http://www.apache.org/licenses/LICENSE-2.0>.
|
||||
*/
|
||||
|
||||
@file:Suppress("SpellCheckingInspection")
|
||||
|
||||
package ru.tech.imageresizershrinker.core.domain.image.model
|
||||
|
||||
sealed class MetadataTag(
|
||||
@ -164,6 +166,13 @@ sealed class MetadataTag(
|
||||
|
||||
override fun toString(): String = key
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
if (other !is MetadataTag) return false
|
||||
return other.key == key
|
||||
}
|
||||
|
||||
override fun hashCode(): Int = key.hashCode()
|
||||
|
||||
companion object {
|
||||
const val TAG_BITS_PER_SAMPLE: String = "BitsPerSample"
|
||||
const val TAG_COMPRESSION: String = "Compression"
|
||||
|
Reference in New Issue
Block a user