Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
ImagePickerController with live filters (github.com/gobackspaces)
55 points by frankdenbow on Aug 22, 2012 | hide | past | favorite | 17 comments


I was trying to build my own for an app I'm building and all I can say is it's pretty hard. Thanks for this!


thanks for this


Seems to be crashing when clicking 'show picker' on my iPhone 4... does it work on 4S only?


Just tested on an iPhone 4 and it works http://i.imgur.com/r3i7t.jpg

If you can let me know where it goes wrong, or submit a pull to fix it, I would be a very happy guy


GPUImage can't work with full resolution images on an iPhone 4, only iPhone 4s, iPad Retina.

Texture size limitation.

* One possible explanation.


Nah it works, his issue was because I used xibs. To be fair, the front camera is buggy because of this sometimes though.


Any more details? I recently added a device check for flash and didn't test on iPhone 4. Will look into it.


Sorry should have added that to begin with!

012-08-22 13:41:27.291 DLCImagePickerController[759:907] Application windows are expected to have a root view controller at the end of application launch 2012-08-22 13:41:35.036 DLCImagePickerController[759:907] * Terminating app due to uncaught exception UIViewControllerHierarchyInconsistency', reason: 'A view can only be associated with at most one view controller at a time! View <UIView: 0x1ed53f50; frame = (0 0; 320 480); autoresize = W+H; layer = <CALayer: 0x1ed53f20>> is associated with <UIViewController: 0x1ed53cb0>. Clear this association before associating this view with <DLCImagePickerController: 0x1edcd370>.'


what version of xcode are you using? I used IB so maybe inconsistency in xib format?


That might be it - xcode 4.5 DP4 - i'll try with 4.4

Edit: Yeah, works fine in 4.4. Thanks!

Thanks for open-sourcing this... I was about 40% into the process of building the exact same thing on top of GPUImage and this looks really well done.


Awesome. Sorry about the xib thing, should redo programmatically, but to be honest we kinda did this over the weekend while waiting for apple to get us approved


No problem at all, this is fantastic. I'll be sure to contribute back any enhancements/fixes.


This looks great. Thanks for sharing! Backspaces is a cool concept as well.


I'd be interested to learn more about Backspaces, but didn't get much from its website.


hey there, co-founder at backspac.es here. happy to answer any questions you have!


can you load images in as well, or does it always have to be from taking a pic from the camera?


woops, didn't see the reply button for some reason, but yes you can, see this screencast: http://www.youtube.com/watch?v=mYWTMEbrqWk&feature=plcp




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: