Re: Revert Camera Image
Re: Revert Camera Image
- Subject: Re: Revert Camera Image
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 16 Aug 2011 14:37:34 -0600
On Aug 16, 2011, at 12:44 PM, Siegfried wrote:
> It's the first time I'm dealing with QTKit, and up to the current moment I've successfully created my preview for user's camera device, using QTCaptureView.
>
> However, I'd like to let users choose between reverting the image coming from their camera or not. And here's the problem. Maybe I'm missing it somewhere in the documentation or older posts?
>
> If not, how can I revert (mirror) the image coming from the camera?
<http://developer.apple.com/library/mac/documentation/QuickTime/Reference/QTCaptureView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40004572-CH3-DontLinkElementID_14>
You have to implement that delegate method, and in the method, you can use a CoreImage filter to transform the image & return the output. You probably want to use the CIAffineTransform filter.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden