I am doing a school project and I want to make an application similar to Instagram but simpler in which I can add a photo from my gallery or take it from my camera and once I have it I want to be able to put filters on it and save it I already solved the part of obtaining the photo but I don't know how the filters are made or how to integrate them in the application
To apply filters you must change the color parameters of each pixel that makes up the image.
Try with that code extracted from SO
And here a list of filters to apply using the color matrix
A library with some pre-designed effects
Update 2
AndroidPhotoFilters library to implement some basic filters
photofilter library https://github.com/mukeshsolanki/photofilter