Skip to content
Image docs0.3

Getting Started

Latest stable Based on Image release 0.3.0

Begin with the smallest dependency and runtime that can complete one image task. Do not add every backend: Scrimage and libvips solve overlapping problems but have different deployment and ownership costs.

Choose the released bluetape4k-dependencies version used by the rest of the application.

dependencies {
implementation(platform("io.github.bluetape4k:bluetape4k-dependencies:<version>"))
implementation("io.github.bluetape4k.image:bluetape4k-images")
}

The repository also publishes bluetape4k-image-bom, but normal ecosystem consumers should use the central BOM so Kotlin, coroutines, framework, and sibling Bluetape libraries remain aligned. See the Image BOM reference when maintaining a narrower standalone dependency graph.

Use Backend selection for a fuller comparison.

The basic processing workshop is the shortest portable path. Framework applications can continue with the Ktor image API or Spring Boot image API. OCR has separate Ktor and Spring Boot workshops because host Tesseract setup is part of the exercise.

Run the target module test, not only the root compile:

./gradlew :bluetape4k-images:test

Native and OCR checks require host software and must run sequentially. Read OCR setup and native resource lifecycle before enabling them.