|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Dec 6, 2011, at 11:32 AM, email@hidden wrote:
As a bit of historical weirdness, Quartz defaults a non-existant endian flag as big-endian rather than host endian. Under 5- and 8-bpc formats, this generates bit-wise and pixel-size ordering that is the same (i.e. ARGB reads as ARGB regardless of if you read it 8 bits or 32 bits at a time). For 16 -and 32-bpc formats however, this leads to what you've seen. I'm not certain exactly why that choice was made, but it is something to be aware of when working with larger bpc formats.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartz-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
|>Creating a CGImage from an array of floats and byte order. (From: email@hidden)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.