Re: 16-bits per channel tifs
Re: 16-bits per channel tifs
- Subject: Re: 16-bits per channel tifs
- From: Andrew Platzer <email@hidden>
- Date: Wed, 23 Jan 2002 15:08:00 -0800
On Tuesday, January 22, 2002, at 07:19 , Josh Anon wrote:
I'm working on a viewing app that needs to be able to open 16-bit per
channel (so 48 bits/pixel) tif files from digital cameras. NSImage doesn'
t seem too happy opening these files, though. I remember someone's
saying higher bits per channel would be a priority in later versions of X
than 10.1...is it possible to open these files in 10.1.2 or is that not
"later" enough :) If not, is using a CGImageRef and providing a custom
data provider still the correct way to go about this?
10.1.2 does not support > 8 bps images but it's a reasonably high priority
for the next release of the AppKit (no guarantees of course). Also in the
future, CGImageRef will also support > 8 bps but for now your solution of
using a custom data provider to trim down the source data to 8 bps is the
only way.
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