Skip to content

awxkee/aire

Repository files navigation

Aire

API Kotlin Cpp Hits

Fast & Simple image processing library for Android with 50+ available operations

Image processing speed increased by libhwy

Usage

1. Add dependencies

Kotlin (kts)

repositories {
  maven { setUrl("https://jitpack.io") } // Add jitpack
}
dependencies {
  implementation("com.github.awxkee:aire:LATEST_VERSION") // Replace "LATEST_VERSION" with preferrend version tag
}

Groovy

repositories {
  maven { url 'https://jitpack.io' } // Add jitpack
}
dependencies {
  implementation 'com.github.awxkee:aire:LATEST_VERSION' // Replace "LATEST_VERSION" with preferrend version tag
}

2. Add Aire call as shown below

Aire.gaussianBlur(
    bitmap = input,
    //Addional parameters
)

Available filters

Blur:

  • Gaussian Blur
  • Stack Blur
  • Poisson blur
  • Tent Blur
  • Median Blur
  • Bilateral Blur
  • Fast Bilateral Approximation
  • Anisotropic Diffusion
  • Fast Gaussian Approximation
  • Zoom Blur

Base operations:

  • Saturation
  • Contrast
  • Brightness
  • Sharp
  • Unsharp
  • Gamma
  • Crop
  • Rotate
  • Affine transform
  • Vibrance
  • Dilate
  • Erode
  • Exposure
  • Convolve 2D
  • Scaling
    • Bilinear
    • Nearest Neighbour
    • Bicubic
    • Mitchell
    • Lanczos3 ( Sinc )
    • Catmull
    • Hermite
    • Spline
    • BSpline
    • Hann

Effects:

  • Bokeh
  • Fractal Effect
  • Marble
  • Oil
  • Water effect
  • Glitch
  • Radial Tilt Shift
  • Horizontal Tilt Shift
  • Wind Stagger
  • Monochrome
  • Grain
  • CLAHE ( Contrast limited histogram equalization )
  • Histogram Equalization
  • Adaptive Histogram Equalization

Postprocessing:

  • Dehaze dark channel
  • Remove shadows

Compression:

  • Mozjpeg compression
  • PNG Quantize
  • Palette quantize

Tone Mapping:

  • Uchimura
  • Hable
  • Aces Filmic
  • Aces Hill
  • Hejl Burgess
  • Logarithmic
  • Mobius
  • Aldridge
  • Drago

Find this repository useful? ❤️

Support it by joining stargazers for this repository. ⭐
And follow me for my next creations! 🤩

License

MIT License

Copyright (c) 2024 Radzivon Bartoshyk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.