> 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. :(
Oh dear, looks like you're right! Immutable would have been fine by me, all I 
want is const access to the pixels, but that doesn't seem to be possible either.

So as far as my situation goes, what I'm after is an efficient way of starting 
from a path to some sort of raster image and obtaining a raw pixel buffer I can 
read. [Obviously if actually reading from disk then the disk will be the 
bottleneck, but it's often in the disk cache, in which case the extra data copy 
associated with [NSBitmapImageRep getBitmapDataPlanes] is a problem. I was 
rather liking the file-format-agnostic abilities of initWithContentsOfFile. Any 
thoughts?_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to