dmitric / DLCImagePickerController

ImagePickerController with live filters, radial blur and more. Brought to you by Backspaces.

Home Page:www.backspac.es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blur does not work well

loverde-co opened this issue · comments

The blur filter does not follow when you move your finger, just do for taps.
Only follow when not took the picture.

This is by design. Most phones are already fairly slow to calculate the blur, and it would be too slow if it were calculated while panning. However, if you would like to add an indicator of where the blur will be positioned (like a white circle) or improve the blur algorithm, a pull request would be great.

Works perfectly on instagram.
It would be interesting work also, thanks

@jackloverde Hi, this is not Instagram. It is an open source project.

Just so you are aware, Instagram does not persist the blur across movements-- they create their own white-radial gradient to mask the image and then apply the gaussian blur at the end of the touch.

You can add that to your own code quite easily.

I thought it was a mistake, so your friend above said, it seemed to me a mistake and if I wanted to improve, do it my way.

But now you explained to me what was done in the standard. No problem, I'll make it and I will create another horizontal blur tb.
Thanks for the info