Photo Filter

Additional

Language
Java
Version
v1.0.0 (Jun 28, 2016)
Created
Jun 23, 2016
Updated
Jul 25, 2018
Owner
Mukesh Solanki (mukeshsolanki)
Contributor
Mukesh Solanki (mukeshsolanki)
1
Activity
Badge
Generate
Download
Source code
APK file

Announcement

Photo Filter for Android

A simple easy to use library that lets you edit pictures on the fly with easy. Photo filter lets you apply a large number of filters all while maintaining maximum image quality. Supports Android 2.3 and higher.

How to integrate into your app?

Integrating the library into you app is extremely easy. A few changes in the build gradle and your all ready to use the library. Make the following changes.

Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url "https://jitpack.io" }
  }
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.mukeshsolanki:photofilter:<latest-version>'
}

How to use the library?

Okay seems like you integrated the library in your project but how do you use it? Well its really easy just follow the steps below.

 ImageProcessor imageProcessor = new ImageProcessor();
 
 imageProcessor.doInvert(bitmap);

That's pretty much it and your all wrapped up.

Supported Filters (Exposed Methods)

  • doHighlightImage
  • doInvert
  • doGreyScale
  • doGamma
  • doColorFilter
  • createSepiaToningEffect
  • decreaseColorDepth
  • createContrast
  • rotate
  • doBrightness
  • applyGaussianBlur
  • createShadow
  • sharpen
  • applyMeanRemoval
  • smooth
  • emboss
  • engrave
  • boost
  • roundCorner
  • waterMark
  • flip
  • tintImage
  • applyFleaEffect
  • applyBlackFilter
  • applySnowEffect
  • applyShadingFilter
  • applySaturationFilter
  • applyHueFilter
  • applyReflection
  • replaceColor

Screenshots

Original

Result

You can check out more results here

Author

Maintained by Mukesh Solanki

Contribution

License

Copyright 2018 Mukesh Solanki

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.