webp4j

Simple Java lib for encoding/decoding WebP image format

Лицензия

Лицензия

Группа

Группа

com.github.zakgof
Идентификатор

Идентификатор

webp4j
Последняя версия

Последняя версия

0.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

webp4j
Simple Java lib for encoding/decoding WebP image format
Ссылка на сайт

Ссылка на сайт

https://github.com/zakgof/webp4j.git
Система контроля версий

Система контроля версий

https://github.com/zakgof/webp4j

Скачать webp4j

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.zakgof/webp4j/ -->
<dependency>
    <groupId>com.github.zakgof</groupId>
    <artifactId>webp4j</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zakgof/webp4j/
implementation 'com.github.zakgof:webp4j:0.0.2'
// https://jarcasting.com/artifacts/com.github.zakgof/webp4j/
implementation ("com.github.zakgof:webp4j:0.0.2")
'com.github.zakgof:webp4j:jar:0.0.2'
<dependency org="com.github.zakgof" name="webp4j" rev="0.0.2">
  <artifact name="webp4j" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zakgof', module='webp4j', version='0.0.2')
)
libraryDependencies += "com.github.zakgof" % "webp4j" % "0.0.2"
[com.github.zakgof/webp4j "0.0.2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.scijava : native-lib-loader jar 2.3.2

Модули Проекта

Данный проект не имеет модулей.

webp4j

Simple Java webp image format encoder and decoder

WebP images are claimed to be 25-34% smaller than comparable JPEG images at equivalent SSIM quality index. https://developers.google.com/speed/webp/

webp4j uses JNI to link to native libwebp libraries (included into distribution jar).

Supported platforms:

  • Linux 32/64 bit
  • Windows 32/64 bit

Webp4j is on Bintray

Travis CI https://bintray.com/zakgof/maven/webp4j

Gradle

repositories {
    jcenter()
}

dependencies {
    compile 'com.github.zakgof:webp4j:0.0.2'
}

Usage

// Encode
BufferedImage bi = ...
float quality = 80f;
byte[] bytes = Webp4j.encode(bi, quality);

// Decode
BufferedImage restored = Webp4j.decode(bytes);

Версии библиотеки

Версия
0.0.2
0.0.1