Check out example codes for "image filter". It will help you in understanding the concepts better.

Code Example 1

*.jpg, *.jpeg, *.jpe, *.jfif, *.png) | *.jpg; *.jpeg; *.jpe; *.jfif; *.png

Learn ReactJs, React Native from akashmittal.com