• 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: NSBitmapImageRep and Inconsistent set of values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSBitmapImageRep and Inconsistent set of values (From: Matt Handley <email@hidden>)

  • Prev by Date: Re: Hit detection on shapes within window
  • Next by Date: Re: Cocoa WebObjects
  • Previous by thread: NSBitmapImageRep and Inconsistent set of values
  • Next by thread: Re: cocoa-dev digest, Vol 2 #1526 - 18 msgs
  • Index(es):
    • Date
    • Thread