Mailing Lists: Apple Mailing Lists

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

Re: Accessing image data within a CIImage?




On Jun 13, 2005, at 4:04 PM, email@hidden wrote:

How can I access / retrieve / export the image data within a CIImage?
I'd like a copy of a CIImage image in a pixmap-style buffer in RGBA format.


The CIImage - imageWithBitmapData:bytesPerRow:size:format:colorSpace: and - imageWithContentsOfURL: methods work fine for ingestion, but I don't see how to access or export the bitmap once it's ingested into the CIImage object.

There isn't any image data in a CIImage, it's a list of operations to be performed when drawing. In order to get image data you have to render it. In this case a CG bitmap context would probably be what you want.


Regards,
Nick Nallick

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

This email sent to email@hidden
References: 
 >Accessing image data within a CIImage? (From: 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.