Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QC comp to return CIImage instead of NSImage?



I have a QC composition, using just a VideoInput and a Sprite. 
The VideoInput's "Image" output is published. 
I run this from a Cocoa app, rendering it into a QCView. 
When I access the image using: 
    id anImage=[qcView valueForOutputKey:@"Image"];
...the object in anImage is an NSImage.

Is there any way to make it so I can get back a CIImage instead? 
I just want to feed anImage into a CIFilter. I'm trying to avoid using:
    [CIImage imageWithData:[anImage TIFFRepresentation]]

Roland

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.