benbahrenburg / Ti.BlurView

A Blur View implementation for Titanium
161 stars 46 forks source link

CIAffineClamp #1

Closed sindresorhus closed 11 years ago

sindresorhus commented 11 years ago

The Guassian blur filter needs CIAffineClamp, otherwise it the background will show through on the edges when higher blurring is used:

screen shot 2013-09-17 at 10 47 46 pm

http://stackoverflow.com/questions/12910625/cigaussianblur-and-ciaffineclamp-on-ios-6 https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CoreImageFilterReference/Reference/reference.html#//apple_ref/doc/filter/ci/CIAffineClamp

benbahrenburg commented 11 years ago

Thanks will add this into the build tonight

benbahrenburg commented 11 years ago

Thank you for raising this issue. I had to take a slightly different approach but to implementing ciaffineclamp but was able to get the blur to be consistent and without borders.

Can you check out the updated in version 0.21

blurupdate

benbahrenburg commented 11 years ago

Closing for now, will re-open if you run into problems.