Image Filter is an Android Libary that lets you to Filtering any image. You can report any issue on issues page. Note: If you speak Arabic, you can submit issues with Arabic language and I will check them. :)
Maven
<dependency>
<groupId>net.alhazmy13.ImageFilters</groupId>
<artifactId>library</artifactId>
<version>0.1.2-beta</version>
</dependency>
Gradle
dependencies {
compile 'net.alhazmy13.ImageFilters:library:0.1.2-beta'
}
All you need is to pass a Bitmap
obejct and the filter type
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.GOTHAM);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.GRAY);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.RELIEF);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.AVERAGE_BLUR,BLUR_SIZE);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.OIL);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.NEON,COLOR_R,COLOR_G,COLOR_B);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.PIXELATE,PIXEL_SIZE);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.TV);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.INVERT);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.BLOCK);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.OLD);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.SHARPEN);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.LIGHT,CENTER_X,CENTER_Y,RADIUS);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.LOMO);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.HDR);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.GAUSSIAN_BLUR,SIGMA);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.SOFT_GLOW);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.SKETCH);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.MOTION_BLUR,X,Y);
ImageFilter.applyFilter(bitmap, ImageFilter.Filter.GOTHAM);
Copyright 2015 alhazmy
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.