Re: 16, 32 or 64 bit Bitmap data for a CIImage
Re: 16, 32 or 64 bit Bitmap data for a CIImage
- Subject: Re: 16, 32 or 64 bit Bitmap data for a CIImage
- From: Robert Brown <email@hidden>
- Date: Sat, 18 Mar 2006 14:12:57 -0700
As a followup, it looks like NSBitmapImageRep has added a 32-bit /
channel RGBA type... but whenever I try to initialize one with the
bps argument set to 32 it gives an Inconsistent set of values to
create NSBitmapImageRep error. Yes, I did set the bitmap format to
NSFloatingPointSamplesBitmapFormat.
On 18-Mar-06, at 1:23 PM, Robert Brown wrote:
Normally if I want to grab bitmap data from a CIImage I'd create an
NSBitmapImageRep, then an NSGraphicsContext, get a CIContext from
that and draw the CIImage onto it. Presto, a bitmap representing
the CIImage.
The problem is, NSBitmapImageRep and NSGraphicsContext only appear
to support 8-bit/channel images. How do I get a bitmap that's 16-
bit integer or 32- or 64-bit float (ie, the full bit depth of the
Core Image system)?
Thanks!
---------------------------------------------------
Robb Brown
Seaman Family MR Research Centre
Calgary, Alberta, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden