Pixel format and data layout
Describe the memory layout of the pixel buffers a color transform reads and writes.
Overview
When you convert color with ColorSyncTransformConvert(_:_:_:_:_:_:_:_:_:_:_:_:), you describe each buffer’s bit depth, byte order, and alpha handling using these constants and the ColorSyncDataLayout type.
Topics
Describing data layout
Handling alpha
kColorSyncAlphaFirstkColorSyncAlphaInfoMaskkColorSyncAlphaLastkColorSyncAlphaNonekColorSyncAlphaNoneSkipFirstkColorSyncAlphaNoneSkipLastkColorSyncAlphaPremultipliedFirstkColorSyncAlphaPremultipliedLast
Setting byte order
kColorSyncByteOrder16BigkColorSyncByteOrder16LittlekColorSyncByteOrder32BigkColorSyncByteOrder32LittlekColorSyncByteOrderDefaultkColorSyncByteOrderMask