ca-archived / iOS-NBUImagePicker

Modular image picker with Simulator-compatible AVFondation camera, assets library, filters and more.
http://cyberagent.github.io/iOS-NBUImagePicker
Apache License 2.0
193 stars 48 forks source link

How can I get Apple default filters and Can I add new Apple filter if not found. #16

Open riksof-abdulrauf opened 8 years ago

riksof-abdulrauf commented 8 years ago

Hi, 1- How can I get the new Apple default filters

// Get only the core image filters.
NSArray *filterTypes = [NBUFilterProvider availableFilters];

img_0345

2- Can I add new Apple filter if not found ? https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CoreImageFilterReference/index.html#//apple_ref/doc/filter/ci/CIMinimumCompositing

rivera-ernesto commented 8 years ago

You would need to make a new entry for the filter you want here.

First find out the available filters with [CIFilter filterNamesInCategories:nil], then check its attributes [CIFilter filterWithName:@"CIMinimumCompositing"].attributes.

Try to do that and open a pull request with a first version so we can take a look together.

riksof-abdulrauf commented 8 years ago

Is there any way I can use more default iOS filter effects without changing code in pod.

img_0345

screen shot 2015-09-28 at 7 59 54 pm

rivera-ernesto commented 8 years ago

Not without changing the code because the library wraps the filters so you can mix CoreImage filters with GPUImage filters, etc.