Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
object GpsUtil
Link copied to clipboard
open class ImageException(message: String? = null, cause: Throwable? = null) : RuntimeException
Link copied to clipboard
class ImageReadException(message: String? = null, cause: Throwable? = null) : ImageException
Link copied to clipboard
open class ImageWriteException(message: String? = null, cause: Throwable? = null) : ImageException
Link copied to clipboard
data class MetadataOffset(val type: MetadataType, val offset: Long, val length: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Rational number, as used by the TIFF image format.

Link copied to clipboard

To avoid rather unsafe "Array<*>" in instance checking we have this extra class to represent a collection of rational numbers.

Functions

Link copied to clipboard

EXIF dates are in the format of "yyyy:MM:dd HH:mm:ss" (19 chars), which should be transformed to ISO like "yyyy-MM-ddTHH:mm:ss".

Link copied to clipboard
Link copied to clipboard
fun Path.copyTo(destination: Path)
Link copied to clipboard
fun Path.exists(): Boolean
Link copied to clipboard
fun isExifDateEmpty(exifDate: String?): Boolean
Link copied to clipboard
fun Path.list(): Collection<Path>
Link copied to clipboard
fun Path.readBytes(): ByteArray
Link copied to clipboard

See https://en.wikipedia.org/wiki/FourCC

Link copied to clipboard
fun Path.writeBytes(byteArray: ByteArray)