On 16/08/2011, at 17:37, Nick Zitzmann wrote:
> On Aug 16, 2011, at 12:44 PM, Siegfried wrote:
> 
>> If not, how can I revert (mirror) the image coming from the camera?
> 
> 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.

I don't know how to thank you. Impressive, it was quite easy, eh?

- (CIImage *)view:(QTCaptureView *)view willDisplayImage:(CGImage *)image
{
    return [image imageByApplyingTransform:CGAffineTransformMakeScale(-1.0, 
1.0)];
}

Thanks a lot Mr. Zitzmann,

Best wishes,
Siegfried_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to