ImageRef

actual class ImageRef(val uniqueId: UUID) : AutoCloseable
expect class ImageRef(uniqueId: UUID) : AutoCloseable
actual class ImageRef(val uniqueId: UUID) : AutoCloseable

Constructors

Link copied to clipboard
actual constructor(uniqueId: UUID)
expect constructor(uniqueId: UUID)
actual constructor(uniqueId: UUID)

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion

Properties

Link copied to clipboard
val nativeRef: ImageRef
Link copied to clipboard
actual val uniqueId: UUID
expect val uniqueId: UUID
actual val uniqueId: UUID

Functions

Link copied to clipboard
actual open override fun close()
expect open override fun close()
actual open override fun close()
Link copied to clipboard
actual fun encode(options: EncodeImageOptions): Result<ByteArray>
expect fun encode(options: EncodeImageOptions = EncodeImageOptions()): Result<ByteArray>
actual fun encode(options: EncodeImageOptions): Result<ByteArray>
Link copied to clipboard
actual fun info(): Result<ImageInfo>
expect fun info(): Result<ImageInfo>
actual fun info(): Result<ImageInfo>
Link copied to clipboard
actual fun save(path: String, options: SaveImageOptions): Result<Unit>
expect fun save(path: String, options: SaveImageOptions = SaveImageOptions()): Result<Unit>
actual fun save(path: String, options: SaveImageOptions): Result<Unit>
Link copied to clipboard
actual fun toJson(mode: ImageSerializationMode): JsonObject
expect fun toJson(mode: ImageSerializationMode): JsonObject
actual fun toJson(mode: ImageSerializationMode): JsonObject