iOS-NBUImagePicker icon indicating copy to clipboard operation
iOS-NBUImagePicker copied to clipboard

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

Open riksof-abdulrauf opened this issue 10 years ago • 3 comments

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

riksof-abdulrauf avatar Sep 28 '15 14:09 riksof-abdulrauf

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.

rivera-ernesto avatar Sep 28 '15 14:09 rivera-ernesto

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

riksof-abdulrauf avatar Sep 28 '15 15:09 riksof-abdulrauf

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

rivera-ernesto avatar Sep 28 '15 15:09 rivera-ernesto