• 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
colorspace for grayscale images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

colorspace for grayscale images


  • Subject: colorspace for grayscale images
  • From: Damien Pacaud <email@hidden>
  • Date: Mon, 1 Sep 2003 17:18:33 +0200

hi,
I have a grayscale image in memory as pixel data...
every pixel is stored on 8 bits.
I created an NSBitmapImageRep to display the image...and inited it with :

initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerP ixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:

my problem is : what colorspace should I use ?
I tried all of them but none seem to be able to display my image...

do I have to create a new one and if so, hw do I do this ?

Thanks for any answer

Damien
_______________________________________________
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: colorspace for grayscale images
      • From: Cameron Hayne <email@hidden>
References: 
 >Enable the Copy Menu (From: Lorenzo <email@hidden>)

  • Prev by Date: Enable the Copy Menu
  • Next by Date: Re: Enable the Copy Menu
  • Previous by thread: Enable the Copy Menu
  • Next by thread: Re: colorspace for grayscale images
  • Index(es):
    • Date
    • Thread