Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Revert Camera Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Revert Camera Image



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

References: 
 >Revert Camera Image (From: Siegfried <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.