ImageFile

data class ImageFile(_path: Path) : Image

A data class to load image bytes.

Constructors

Link copied to clipboard
constructor(_path: Path)

Types

Link copied to clipboard
sealed class ImageException : Exception

Properties

Link copied to clipboard
open override val createdAt: Instant

Functions

Link copied to clipboard
open override fun loadBytes(): ByteArray

Loads the byte array of the image

Link copied to clipboard
open override fun toString(): String