https://github.com/t8rin/bitmapscaler
BitmapScaler with different scaling algorhytms based on jxl-coder from awxkee
https://github.com/t8rin/bitmapscaler
Last synced: 2 months ago
JSON representation
BitmapScaler with different scaling algorhytms based on jxl-coder from awxkee
- Host: GitHub
- URL: https://github.com/t8rin/bitmapscaler
- Owner: T8RIN
- License: mit
- Created: 2024-01-06T15:52:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-08T15:26:31.000Z (over 1 year ago)
- Last Synced: 2025-04-01T15:56:28.141Z (6 months ago)
- Language: C++
- Size: 5.03 MB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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
```kotlin
repositories {
maven { setUrl("https://jitpack.io") }
}
``````kotlin
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:*```shell
NDK_PATH=/path/to/ndk INCLUDE_X86=yes bash build_jxl.sh
```# Copyrights
This library created with [jxl-coder](https://github.com/awxkee/jxl-coder) sources