• 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: Convert GWorldPtr into a NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert GWorldPtr into a NSImage


  • Subject: Re: Convert GWorldPtr into a NSImage
  • From: Eric Gorr <email@hidden>
  • Date: Thu, 8 Jan 2009 08:54:59 -0500


On Jan 8, 2009, at 6:57 AM, Michael Vannorsdel wrote:

Have a look at vImagePermuteChannels_ARGB8888 in the Accelerate framework. Should be the fastest and easiest option for reordering color components in pixel streams.

Looks nearly perfect ... unfortunately, it does not look like it will take the rowBytes of the GWorldPtr data into account. But, it may still be faster to create a flattened buffer and pass that into vImagePermuteChannels_ARGB8888 to do all of the swapping.



_______________________________________________

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: Convert GWorldPtr into a NSImage
      • From: Michael Vannorsdel <email@hidden>
References: 
 >Convert GWorldPtr into a NSImage (From: Eric Gorr <email@hidden>)
 >Re: Convert GWorldPtr into a NSImage (From: Graham Cox <email@hidden>)
 >Re: Convert GWorldPtr into a NSImage (From: Eric Gorr <email@hidden>)
 >Re: Convert GWorldPtr into a NSImage (From: Graham Cox <email@hidden>)
 >Re: Convert GWorldPtr into a NSImage (From: Daniel Kennett <email@hidden>)
 >Re: Convert GWorldPtr into a NSImage (From: Eric Gorr <email@hidden>)
 >Re: Convert GWorldPtr into a NSImage (From: Michael Vannorsdel <email@hidden>)

  • Prev by Date: Re: Convert GWorldPtr into a NSImage
  • Next by Date: Re: [iPhone] [SOLVED] Update table cell text on selection in other view
  • Previous by thread: Re: Convert GWorldPtr into a NSImage
  • Next by thread: Re: Convert GWorldPtr into a NSImage
  • Index(es):
    • Date
    • Thread