Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
- Subject: Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 21 Feb 2011 17:52:53 -0500
- Organization: Rogue Research Inc.
On Mon, 21 Feb 2011 14:27:39 -0800, Quincey Morris said:
>OK, what I was *trying* to say is that NSBitmapImageRep in SnowLeopard
>is basically an immutable object pretending to be mutable. My suggestion
>was to use a really mutable object instead. I actually don't know if
>CGImage counts as mutable (in the pixel data sense) or not, because
>every time I try to use one my application crashes and I go back to
>NSBitmapImageRep.
>
>I think you're right though -- CIImage is probably the right thing to
>use. Again, I don't know because every time I try to use one my
>application crashes and ... ;)
I too have ran into this issue recently, with an old project that is
half-resurrected.
Performance was good in 10.5, but now horrible in 10.6. I'm not sure
what to do instead.
The CIImage docs say "Core Image images are immutable", and indeed I
don't see any method like bitmapData. :(
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden