• 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: Drawing 32-bit images into an NSBitmapImageRep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing 32-bit images into an NSBitmapImageRep


  • Subject: Re: Drawing 32-bit images into an NSBitmapImageRep
  • From: Julian Blow <email@hidden>
  • Date: Sun, 17 Sep 2006 21:05:38 +0100

I haven't had much luck using NSImage or NSBitmapImageRep to directly
deal with anything other than 8-bit image data on an elegant, clean
way.

So this is a problem with Cocoa? Should I file a bug report?


I've had to go down to Quartz and CoreGraphics to gain this
functionality.  In my example I'm using the vImage_Buffer from the
Accelerate frameworks, this buffer contains floating point (128) ARGB
data.

Thanks for the example code. I'll try to incorporate it. I was hoping I wasn't having to go this deep: CoreGraphics code seems so ugly compared to Core Image (maybe I've just been coding in Objective C for too long...).



Julian Blow _______________________________________________ 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
  • Follow-Ups:
    • Re: Re: Drawing 32-bit images into an NSBitmapImageRep
      • From: "Bruce Johnson" <email@hidden>
  • Prev by Date: Re: Two clicks to dismiss a sheet?
  • Next by Date: Re: Adobe apps crash after -[NSWorkspace launchApplication:]
  • Previous by thread: Re: Drawing 32-bit images into an NSBitmapImageRep
  • Next by thread: Re: Re: Drawing 32-bit images into an NSBitmapImageRep
  • Index(es):
    • Date
    • Thread