T8RIN / BitmapScaler

BitmapScaler with different scaling algorhytms based on jxl-coder from awxkee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitmap Scaler for Android API 14+

This BitmapScaler with different scaling algorhytms based on jxl-coder from awxkee can upscale or downscale bitmaps with 8 options:

  • Bilinear
  • Nearest Neighbour
  • Bicubic
  • Mitchell
  • Lanczos
  • Catmull
  • Hermite
  • Spline
  • Hann

Add Jitpack repository

repositories {
    maven { setUrl("https://jitpack.io") }
}
implementation("com.github.t8rin:bitmap-scaler:1.1.1")

Self-build

Requirements

  • ndk
  • ninja
  • cmake
  • nasm

All commands are require the NDK path set by NDK_PATH environment variable

  • If you wish to build for x86 you have to add a $INCLUDE_X86 environment variable for example:*
NDK_PATH=/path/to/ndk INCLUDE_X86=yes bash build_jxl.sh

Copyrights

This library created with jxl-coder sources

About

BitmapScaler with different scaling algorhytms based on jxl-coder from awxkee

License:MIT License


Languages

Language:C++ 95.1%Language:C 4.6%Language:Shell 0.1%Language:CMake 0.1%Language:Kotlin 0.1%