Korim: Kotlin cORoutines IMaging utilities depending on Korio for JVM, Kotlin-JS, Android, Jtransc+Node.JS and Jtransc+Browser
Use with gradle:
Bitmap base class + Bitmap8 and Bitmap32. And other fancy bitmaps: BitmapIndexed as base + Bitmap1, Bitmap2, Bitmap4 Ad BitmapChannel
Korim provides utilities for reading and writing some image formats without any kind of additional dependency.
PNG, JPG, TGA, BMP, ICO, PSD and DDS (DXT1, DXT2, DXT3, DXT4 and DXT5).
Korim provides color formats to convert easily and fast and to perform, mixing, de/premultiplication and other operations quickly.
Vectorial Image Formats
Korim supports loading, rasterizing and drawing vector SVG files.
Native vectorial rendering
Korim provides AWT utilities to convert bitmaps into AWT BufferedImages, and to display them. These are just extensions so not referenced from the main code.
Korim provides native font rendering. You can rasterize glyph fonts on all targets.
Korim provides korio integration adding
VfsFile.readBitmap() that allows Bitmap reading easily
and faster (with native implementations) in some targets like browsers.