All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.net.iriscan.sdk.io.InputOutputImageOperations.kt Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package net.iriscan.sdk.io

import net.iriscan.sdk.core.image.Image
import net.iriscan.sdk.core.image.NativeImage
import net.iriscan.sdk.core.io.DataBytes
import net.iriscan.sdk.io.image.ImageFormat

/**
 * @author Slava Gornostal
 */
interface InputOutputImageOperations {
    fun readImage(data: ByteArray): Image
    fun readNativeImage(data: DataBytes): NativeImage
    fun writeImage(image: Image, format: ImageFormat): ByteArray
    fun writeNativeImage(image: NativeImage, format: ImageFormat): DataBytes
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy