Re: NSBitmapImageRep and Inconsistent set of values
Re: NSBitmapImageRep and Inconsistent set of values
- Subject: Re: NSBitmapImageRep and Inconsistent set of values
- From: Marco Binder <email@hidden>
- Date: Thu, 14 Nov 2002 10:44:20 +0100
Under the condition that you try to asign a RGB colorpsace to a
grayscale picture. Try using NSCalibratedWhiteColorspace instead!
marco
Am Donnerstag, 14.11.02 um 03:25 Uhr schrieb Matt Handley:
Under what conditions would
[[NSBitmapImageRep alloc] initWithBitmapDataPlanes:temp pixelsWide:pW
pixelsHigh:pH bitsPerSample:16 samplesPerPixel:1 hasAlpha:NO
isPlanar:NO colorSpaceName:NSCalibratedRGBColorSpace bytesPerRow:0
bitsPerPixel:16];
print Inconsistent set of values to create NSBitmapImageRep to the
console?
I'm trying to create a bitmap image rep of a 16-bit grayscale image, so
that temp is just an array of a single pointer to my data.
Matt
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.