• 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 problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBitmapImageRep problems


  • Subject: Re: NSBitmapImageRep problems
  • From: Andrew Platzer <email@hidden>
  • Date: Thu, 11 Oct 2001 15:41:48 -0700

On Thursday, October 11, 2001, at 01:35 , Per Ejeklint wrote:
It works OK if I truncate data to 8-bit RGB values but then I lose lots
of image data. Am I way off here of have I missed something? I can't
figure out from the documentation if there are limitations I've exceeded.
Maybe there is no support for more-than-8-bit-RGBs?

Unfortunately, there is no support in 10.1 for > 8 bits/sample images. It'
s very high priority for the next release. I believe that even CoreGraphics has problems with > 8 bps images.

For now, you will have to convert to 8 when rendering. You might try using a CGImageRef with a custom data provider that truncates the data. This way you can retain the bits but still render.

Andrew
__________________________________________________________________
A n d r e w P l a t z e r
A p p l i c a t i o n F r a m e w o r k s
A p p l e


References: 
 >NSBitmapImageRep problems (From: Per Ejeklint <email@hidden>)

  • Prev by Date: Aliases & fileAttributesAtPath:
  • Next by Date: NSConnection Example
  • Previous by thread: Re: NSBitmapImageRep problems
  • Next by thread: Aliases & fileAttributesAtPath:
  • Index(es):
    • Date
    • Thread