Package-level declarations

Types

Link copied to clipboard
object CcittFax

CCITT fax decoding. Bilevel scan-world compression: there is no standalone container/magic for it, so this is a parameterized codec API, not part of io.github.yuroyami.kiteimage.KiteImage.decode's sniffing.

Link copied to clipboard
data class CcittOptions(val columns: Int, val rows: Int, val endOfBlock: Boolean, val blackIs1: Boolean, val encodedByteAlign: Boolean, val endOfLine: Boolean)
Link copied to clipboard

A pure-Kotlin JBIG2 decoder (ITU-T T.88) covering the flavours PDFs use for scanned and OCR'd bilevel images. Produces a 1-bit-per-pixel bitmap. JBIG2 carries no magic bytes and no dimensions of its own, so it is not part of the KiteImage.decode sniff path; call this directly with the size the container declared.

Link copied to clipboard
object JpxDecoder

A pure-Kotlin JPEG 2000 decoder (ITU-T T.800), taking either JP2 container boxes or a raw codestream, part 1 baseline. Produces an 8-bpc Gray or RGB raster plus an optional alpha plane from a cdef opacity channel.