Rox Fury
Rox Fury

Reputation: 5

how to implement tilt shift blur(like circle selective blur in instagram) in ios using coreimage framework

I know that, this can be done using GPUImageFramework. But I want it done using CoreImageFramework. Any tutorial?

Upvotes: 0

Views: 670

Answers (1)

lti
lti

Reputation: 121

Apple covers tilt-shift in the CoreImage Programming Guide: Tilt-Shift Filter Recipe.

To adapt this method to a circle, you'd want to use a CIRadialGradient instead of two CILinearGradients

Upvotes: 2

Related Questions