I want to create kind of a real-time filter effect on an image, but i need the effect to apply only on a part of the image.
for example i have a full screen image, and above the image i have a circle view, and only the part inside the circle has the filter effect (for example sepia filter)
this way the user can drag the circle and change the part of the image that get filtered.
How can I use
CIFilter and apply it to a specific part of an image? and how can I make it circle?