• 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: Ken Thomases <email@hidden>
  • Date: Mon, 21 Feb 2011 16:02:54 -0600

On Feb 21, 2011, at 3:53 PM, Jonathan Taylor wrote:

> On 21 Feb 2011, at 21:29, Quincey Morris wrote:
>> 3. Use something else, such as CGImage, instead.
>
> Thanks. In this case I need to access every single pixel value unfortunately. I was using NSImages for convenience since I do display some images in the GUI, etc, but the main work of the program involves image processing on the pixel values. Sounds like CGImage is probably what I need if I really want to maximise performance in this case. I'm actually doing a fair amount of work with the pixel data, but nevertheless this one copy (specifically the zero fills as well as memcpy) at the start takes considerably longer than the analysis itself.

NSBitmapImageRep is basically a wrapper around CGImage now.  That's what those release notes were saying.  So, switching to CGImage probably won't get you anything.

Perhaps Quincey meant to say CIImage, a CoreImage object.  That's what the release notes suggest for doing pixel work.

Regards,
Ken

_______________________________________________

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

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

  • Prev by Date: Re: drawRect: GCContext errors
  • Next by Date: Re: NSDocument Problems
  • Previous by thread: Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
  • Next by thread: Re: [NSBitmapImageRep getBitmapDataPlanes] copying data?
  • Index(es):
    • Date
    • Thread