• 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: [NSBitmapImageRep getBitmapDataPlanes] copying data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?


  • Subject: Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
  • From: Jonathan Taylor <email@hidden>
  • Date: Mon, 21 Feb 2011 23:07:22 +0000

> 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 (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

  • Follow-Ups:
    • Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
      • From: Quincey Morris <email@hidden>
    • Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
      • From: Ken Thomases <email@hidden>
References: 
 >[NSBitmapImageRep getBitmapDataPlanes] copying data? (From: Jonathan Taylor <email@hidden>)
 >Re: [NSBitmapImageRep getBitmapDataPlanes] copying data? (From: Quincey Morris <email@hidden>)
 >Re: [NSBitmapImageRep getBitmapDataPlanes] copying data? (From: Jonny Taylor <email@hidden>)
 >Re: [NSBitmapImageRep getBitmapDataPlanes] copying data? (From: Quincey Morris <email@hidden>)
 >Re: [NSBitmapImageRep getBitmapDataPlanes] copying data? (From: Jonathan Taylor <email@hidden>)
 >Re: [NSBitmapImageRep getBitmapDataPlanes] copying data? (From: Quincey Morris <email@hidden>)
 >Re: [NSBitmapImageRep getBitmapDataPlanes] copying data? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: exception when I try to access a managedObject property from within an accessor of another property
  • Next by Date: Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
  • Previous by thread: Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
  • Next by thread: Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
  • Index(es):
    • Date
    • Thread