• 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: QuickTime to NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QuickTime to NSImage


  • Subject: Re: QuickTime to NSImage
  • From: Lance Pysher <email@hidden>
  • Date: Wed, 20 Aug 2003 23:13:02 -0600

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.

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.

  • Follow-Ups:
    • Re: QuickTime to NSImage
      • From: Vince DeMarco <email@hidden>
References: 
 >Re: QuickTime to NSImage (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: QuickTime to NSImage
  • Next by Date: Re: QuickTime to NSImage
  • Previous by thread: Re: QuickTime to NSImage
  • Next by thread: Re: QuickTime to NSImage
  • Index(es):
    • Date
    • Thread