• 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: Quick question: easy way to draw bitmap?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick question: easy way to draw bitmap?


  • Subject: Re: Quick question: easy way to draw bitmap?
  • From: David Duncan <email@hidden>
  • Date: Fri, 13 Jul 2007 11:02:58 -0700

On Jul 13, 2007, at 1:36 AM, Jeff Bland wrote:

Thanks. before I get the image to update I have to get it to work. I'm
having problems, apparently 16 bit RGB color (5 bits per component, 1 unused
bit) is not supported:


from NSBitmapImageRep:

"bps: The number of bits used to specify one pixel in a single component of
the data. All components
are assumed to have the same bits per sample. bps should be one of these
values: 1, 2, 4, 8, 12,
or 16."

I think this might be a bug in the documentation, but I haven't tried it to be certain. Regardless, Quartz 2D does handle XRGB 1555 pixels natively for both images and bitmap contexts.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden



_______________________________________________

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


References: 
 >Quick question: easy way to draw bitmap? (From: "Jeff Bland" <email@hidden>)
 >Re: Quick question: easy way to draw bitmap? (From: ∞ <email@hidden>)
 >Re: Quick question: easy way to draw bitmap? (From: "Jeff Bland" <email@hidden>)
 >Re: Quick question: easy way to draw bitmap? (From: Scott Anguish <email@hidden>)
 >Re: Quick question: easy way to draw bitmap? (From: "Jeff Bland" <email@hidden>)

  • Prev by Date: Objective-C/Cocoa connectivity to Relational Databases
  • Next by Date: Re: Objective-C/Cocoa connectivity to Relational Databases
  • Previous by thread: Re: Quick question: easy way to draw bitmap?
  • Next by thread: Re: Quick question: easy way to draw bitmap?
  • Index(es):
    • Date
    • Thread