Re: Drawing 32-bit images into an NSBitmapImageRep
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