• 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: Graham Cox <email@hidden>
  • Date: Thu, 17 Apr 2008 20:17:45 +1000

Mmmm, I read them, but not very enlightening for my situation.

When you say I have to "fill it myself", what does that mean? Can't I just fill or stroke a path with that rep as a context? If not then there's no point in proceeding with this question as that is what needs to work. I don't care if it just hard thresholds the colours at 50% - in fact that would be ideal - I would rather it didn't do anything clever like dithering - but the discussions I've seen appear to point to 1-bit images not being supported as contexts for Quartz.

------
S.O.S.


On 17 Apr 2008, at 7:41 pm, Heinrich Giesen wrote:

On 17.04.2008, at 08:32, Graham Cox wrote:
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?


You can create 1-bit NSBitMapImageReps, but you have to fill it yourself.
A search in this list for "1 bit image" will give you some hints
especially in the first 6 entries.



-- Heinrich Giesen 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


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

  • Prev by Date: Re: How does bind:toObject:withKeyPath:options: work?
  • Next by Date: Re: NSAllocateCollectable() questions
  • Previous by thread: Re: 1-bit NSBitmapImageRep?
  • Next by thread: Re: 1-bit NSBitmapImageRep?
  • Index(es):
    • Date
    • Thread