• 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: 1-bit NSBitmapImageRep?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1-bit NSBitmapImageRep?


  • Subject: Re: 1-bit NSBitmapImageRep?
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 17 Apr 2008 14:59:43 +0200

Am 17.04.2008 um 03:57 schrieb Graham Cox:
Is it possible to create a 1-bit (black and white) NSBitMapImageRep? If so, what are the magic parameters? If not, what is the smallest number of bits per pixel supported?


Others have already given you options, but what I'm wondering is what you need this for? Maybe you could just use an NSBezierPath instead? That essentially consists of on/off areas just the same, and can be applied as a clipping path to all sorts of objects. When you need to draw it, you can still draw it in black or whatever.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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


  • Follow-Ups:
    • Re: 1-bit NSBitmapImageRep?
      • From: Graham Cox <email@hidden>
References: 
 >1-bit NSBitmapImageRep? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Chained Migration of Leopard CoreData stores
  • Next by Date: Re: Quartz.framework Catch-22 on Panther
  • Previous by thread: Re: 1-bit NSBitmapImageRep?
  • Next by thread: Re: 1-bit NSBitmapImageRep?
  • Index(es):
    • Date
    • Thread