Can I use ofxFilterLibrary on iOS?
@mfargo
I love your filter library. I never get tired of looking at the filtered image.
Anyway, I am now trying to use your library on iOS(iPhone app).
My question:
1 Is it possible to use your library on iOS. If yes, how can I do that?
2 I do not need the real time filter in my case. I just want to apply the filter for images. I just want to create filtered image from normal image. So, I am very grateful if you could tell me where should I change your code. Any clues will be appreciated.
What I did:
1 Download Open Framework for iOS
http://www.openframeworks.cc/versions/v0.8.4/of_v0.8.4_ios_release.zip
2 Launch Example project. It worked.
/Users/Zono/Downloads/of_v0.8.4_ios_release/apps/myApps/emptyExample/emptyExample.xcodeproj
3 Install ofxFilterLibrary into the example project's addons folder
I got some errors below when I built:
Use of undeclared identifier 'GL_RGBA32F_ARB'
Use of undeclared identifier 'GL_RGB16'
4 Add some frameworks like below:
MobileCoreServices.framework CoreFoundation.framework CoreAudio.framework Accelerate.framework GLUT.framework(/libs/glut/lib/osx/GLUT.framework)
(I did not find some frameworks like AppKit.framework on XCode)
However, I got the above errors again.
Thanks,
Glad you enjoy!
I'll look into why oF for iOS doesn't like those GL pixel formats. Since the whole impetus for this was an iPhone Library, however, it would probably be faster to just wrap the original library for use with oF → https://github.com/BradLarson/GPUImage
PS, I am slowly working on putting together GL Programmable Render compatibility for this.
Hi guys,
It would be great to extend ofxFilterLibrary, ofxOpenCV or ofxCv with the GPUImage lib.
Some cool references: https://github.com/wysaid/ios-gpuimage-plus https://github.com/wysaid/android-gpuimage-plus
What would be the insights you would advise for doing so ?
Cheers, Luc