Skip to content

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.

License

Notifications You must be signed in to change notification settings

bhoomikaPrajapati/photofilter

 
 

Repository files navigation

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

Original 1 Original 1

Result

Result 1 Result 2 Result 3 Result 4

You can check out more results here

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%