• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

korlibs/korim: Korim: Kotlin cORoutines IMaging, Bitmap and Vector graphics for ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

korlibs/korim

开源软件地址(OpenSource Url):

https://github.com/korlibs/korim

开源编程语言(OpenSource Language):

Kotlin 97.9%

开源软件介绍(OpenSource Introduction):

Korim

Korim

Kotlin cORoutines IMaging utilities for Multiplatform Kotlin

Build Status Maven Central Discord

Full Documentation: https://korlibs.soywiz.com/korim/

Use with gradle:

repositories {
    mavenCentral()
}

dependencies {
    compile "com.soywiz.korlibs.korim:korim:$korimVersion"
}

Bitmap classes

Bitmap base class + Bitmap8 and Bitmap32. And other fancy bitmaps: BitmapIndexed as base + Bitmap1, Bitmap2, Bitmap4 and BitmapChannel.

Image Formats

Korim provides utilities for reading and writing some image formats without any kind of additional dependency.

PNG, JPG, TGA, BMP, ICO, PSD(WIP) and DDS (DXT1, DXT2, DXT3, DXT4 and DXT5).

Native Image Formats

Korim also allows to use native image readers from your device for maximum performance for standard image formats.

Color Formats

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 vectorial SVG files.

Native vectorial rendering

Korim provides a single interface for vector rendering so you can use a single interface and leverage JavaScript Canvas, AWT's Graphics2D, Android Canvas or any other rasterizer exposed by korim implementations. It also allows to convert shapes into SVG. Korim includes a feature to draw shapes with fills in contact without artifacts in a portable way by multisampling. Useful for offline rasterizers.

AWT Utilities

Korim provides AWT utilities to convert bitmaps into AWT BufferedImages, and to display them. These are just extensions so they are not referenced from the main code. And if you use native image loading, you can display those images as fast as possible without any conversion at all.

Native Fonts

Korim provides native font rendering. You can rasterize glyph fonts on all targets without actually including any font, using device fonts.

TTF Reading and rendering

Korim provides a pure Kotlin-Common TTF reader, and using native vectorial rendering allows you to render glyphs, texts and to get advanced font metrics.

Korio integration

Korim provides korio integration adding VfsFile.readBitmap() that allows Bitmap reading easily and faster (with native implementations) in some targets like browsers.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap