Array
(
    [0] => WP_Term Object
        (
            [term_id] => 21
            [name] => Android
            [slug] => android
            [term_group] => 0
            [term_taxonomy_id] => 21
            [taxonomy] => category
            [description] => 
            [parent] => 0
            [count] => 66
            [filter] => raw
            [cat_ID] => 21
            [category_count] => 66
            [category_description] => 
            [cat_name] => Android
            [category_nicename] => android
            [category_parent] => 0
        )

    [1] => WP_Term Object
        (
            [term_id] => 22
            [name] => Android Library
            [slug] => android-library
            [term_group] => 0
            [term_taxonomy_id] => 22
            [taxonomy] => category
            [description] => 
            [parent] => 0
            [count] => 52
            [filter] => raw
            [cat_ID] => 22
            [category_count] => 52
            [category_description] => 
            [cat_name] => Android Library
            [category_nicename] => android-library
            [category_parent] => 0
        )

    [2] => WP_Term Object
        (
            [term_id] => 84
            [name] => Android Source Code
            [slug] => android-source-code
            [term_group] => 0
            [term_taxonomy_id] => 84
            [taxonomy] => category
            [description] => 
            [parent] => 0
            [count] => 24
            [filter] => raw
            [cat_ID] => 84
            [category_count] => 24
            [category_description] => 
            [cat_name] => Android Source Code
            [category_nicename] => android-source-code
            [category_parent] => 0
        )

    [3] => WP_Term Object
        (
            [term_id] => 2
            [name] => Featured
            [slug] => featured
            [term_group] => 0
            [term_taxonomy_id] => 2
            [taxonomy] => category
            [description] => It is list of posts given by Editorial hand-picked. May be you enjoy all of this articles.
            [parent] => 0
            [count] => 61
            [filter] => raw
            [cat_ID] => 2
            [category_count] => 61
            [category_description] => It is list of posts given by Editorial hand-picked. May be you enjoy all of this articles.
            [cat_name] => Featured
            [category_nicename] => featured
            [category_parent] => 0
        )

)
///////////

Android Photofilter Library : Easy way to editing image

0
84
Photo Filter for Android
Photo Filter for Android

In many applications we need to manipulate image in Android as per need. And for that we need to give some extra effort but not after today Android Photofilter library can make your work more easy.

This is 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 Android Photofilter Library 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 {
        compile 'com.github.mukeshsolanki:photofilter:1.0.2'
}

How to use the Android Photofilter 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)

  1. doHighlightImage
  2. doInvert
  3. doGreyScale
  4. doGamma
  5. doColorFilter
  6. createSepiaToningEffect
  7. decreaseColorDepth
  8. createContrast
  9. rotate
  10. doBrightness
  11. applyGaussianBlur
  12. createShadow
  13. sharpen
  14. applyMeanRemoval
  15. smooth
  16. emboss
  17. engrave
  18. boost
  19. roundCorner
  20. waterMark
  21. flip
  22. tintImage
  23. applyFleaEffect
  24. applyBlackFilter
  25. applySnowEffect
  26. applyShadingFilter
  27. applySaturationFilter
  28. applyHueFilter
  29. applyReflection
  30. replaceColor

Screenshots

Original

Android Photofilter Library
Original
Android Photofilter Library
Original

Result

Android Photofilter Library
Result
Android Photofilter Library
Result 2

 

 

 

 

 

 

 

Android Photofilter Library
Result 1
Android Photofilter Library
Result 2

 

 

 

 

 

 

Hope you like this library. Please share this post and comment us.

Share your thoughts

Loading Facebook Comments ...
Loading Disqus Comments ...