Re: QuickTime to NSImage
Re: QuickTime to NSImage
- Subject: Re: QuickTime to NSImage
- From: Vince DeMarco <email@hidden>
- Date: Wed, 20 Aug 2003 22:20:55 -0700
On Wednesday, August 20, 2003, at 10:13 PM, Lance Pysher wrote:
JPEG 2000 and 16 bit Grayscale jpeg. Although NSImage "supports" 16
bit grayscale TIFF images it down samples them to 8 bit. That down
sampling destroys the DICOM medical images I'm using need access to
the whole 16 bits. I have already subclassed NSImage and
NSBitmapImage rep to handle the 16 bit grayscale data. I'm currently
using an outside tool for decompression of the jpegs, but I would
prefer to use use QuickTime. Currently ihave no way to decompress the
jpeg2000 data.
Can you please file a bug requesting this, It seems silly that you have
to write this code.
Thanks
vince
Lance
On Wednesday, August 20, 2003, at 10:30 PM, Vince DeMarco wrote:
On Wednesday, August 20, 2003, at 8:31 PM, Lance Pysher wrote:
I would like to use QuickTime to access some of the file types not
supported by NSBitmapImageRep. The problem is I can't use a file
reference to get the correct graphicsImporter. The imageData is
embedded within a separate file and I have the the imageData within
an NSData object. How time consuming is it to let graphicsImporter
guess? The data image Data can 8 or 16 bit grayscale or 24 bit RGB
color JPEG / JPEG 2000. If I decided to go directly to decompress
and bypass graphics importer, how hard is it to create an
ImageDescriptionHandle by scratch. Are all the fields in the
structure necessary to decompress? This is probably straight forward
but I'm new to QuickTime.
But NSImage already uses QuickTime for a bunch of stuff what image
doesn't work???
vince
Lance Pysher, M.D.
email@hidden
http://irad.sourceforge.net/
_______________________________________________
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.
_______________________________________________
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.