Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Writing a CIKernel that returns a rectangle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing a CIKernel that returns a rectangle?



A filter can only produce an image, and you would have to render this image into a bitmap context or read the pixels from the OpenGL context.

Frank

On May 25, 2006, at 12:20 PM, Santiago (Jacques) Lema wrote:

Hello,

is it possible to get something else than pixels out of a CIFilter? I am thinking about finding the bounds of the non- transparent zone in a CIImage. Currently the only solution I found was to draw onto an nsbitmaprep and scan the pixels from there. Could I do this without transferring the image from the GPU to the main memory? Is there a way that a CIKernel could access some static values that could then be returned by the CIFilter?

Thanks, Jacques
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartz-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Efficient drawing OpenGL vs. CoreImage (From: "Federico Tessmann" <email@hidden>)
 >Efficient drawing OpenGL vs. CoreImage (From: "Federico Tessmann" <email@hidden>)
 >Writing a CIKernel that returns a rectangle? (From: "Santiago (Jacques) Lema" <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.