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

NSBitmapImageRep and Inconsistent set of values


  • Subject: NSBitmapImageRep and Inconsistent set of values
  • From: Matt Handley <email@hidden>
  • Date: Wed, 13 Nov 2002 20:25:53 -0600

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.

  • Follow-Ups:
    • Re: NSBitmapImageRep and Inconsistent set of values
      • From: Marco Binder <email@hidden>
  • Prev by Date: Re: Low-level equivalent of NSLock?
  • Next by Date: Re: cocoa-dev digest, Vol 2 #1526 - 18 msgs
  • Previous by thread: Re: Scrollbar
  • Next by thread: Re: NSBitmapImageRep and Inconsistent set of values
  • Index(es):
    • Date
    • Thread