Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16 bit integer per colour bitmap graphics context



This article suggests that 16bit per colour (b48r or b64a) images are supported by Quartz 2D.

http://developer.apple.com/qa/qa2001/qa1114.html

Whereas Table 2.1 here suggests that 8bit is the largest size for a colour.

http://developer.apple.com/documentation/GraphicsImaging/Conceptual/ drawingwithquartz2d/dq_context/chapter_3_section_4.html

When I try to create a bitmap graphics context the following happens..

CGBitmapContextCreate: unsupported parameter combination: 16 integer bits/component; 48 bits/pixel; 3-component colorspace; kCGImageAlphaNone.
or
CGBitmapContextCreate: unsupported parameter combination: 16 integer bits/component; 64 bits/pixel; 3-component colorspace; kCGImageAlphaPremultipliedLast.


Can I use Quartz to draw into b48r or b64a bitmaps?

Thanks

Martin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.