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 PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]