• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 16, 32 or 64 bit Bitmap data for a CIImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >16, 32 or 64 bit Bitmap data for a CIImage (From: Robert Brown <email@hidden>)

  • Prev by Date: 16, 32 or 64 bit Bitmap data for a CIImage
  • Next by Date: Embedding a Framework within a Framework
  • Previous by thread: 16, 32 or 64 bit Bitmap data for a CIImage
  • Next by thread: Re: 16, 32 or 64 bit Bitmap data for a CIImage
  • Index(es):
    • Date
    • Thread