Re: Convert GWorldPtr into a NSImage
Re: Convert GWorldPtr into a NSImage
- Subject: Re: Convert GWorldPtr into a NSImage
- From: Michael Vannorsdel <email@hidden>
- Date: Thu, 8 Jan 2009 07:08:30 -0700
vImage_Buffer struct has a field for row bytes as well as image
dimensions.
On Jan 8, 2009, at 6:54 AM, Eric Gorr wrote:
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