An image manipulation library for Kotlin

Sketch

An image manipulation library for Kotlin.

Sketch doesn’t require any external installation like OpenCV or OCR and can be used right away. It’s actually a
zero-dependency library designed for simplicity that wraps the Java AWT BufferedImage. The library provides an
asynchronous interface for all image operations.

Requirements

  • Java 8+

Installation

The library is intended to be published to Maven Central.

In the meantime, it can be installed locally:

./gradlew publishToMavenLocal

Add the library as a dependency to your project:

dependencies {
    implementation("io.github.reugn:sketch:0.1.0")
}

Features

Below is a list of the supported transformations/effects with the resulting image.
Click the heading to get the test code that generated the example.

Original Image

Transformations

Rotate Resize Crop rectangle Crop circle
Border radius Add border Add border with radius
Inline text Inline image Set pixels

Effects

Brightness Contrast Opacity
Color Mask Grayscale Invert Colors
Blur Blur partial
Pixelate Pixelate partial

License

Licensed under the Apache 2.0 License.

GitHub

View Github