Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
riksof-abdulrauf opened this issue Sep 28, 2015 · 3 comments

Comments

@riksof-abdulrauf
Copy link

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants