Re: RAW image format support in NSImage
Re: RAW image format support in NSImage
- Subject: Re: RAW image format support in NSImage
- From: Marco Scheurer <email@hidden>
- Date: Wed, 15 Mar 2006 15:08:01 +0100
On Mar 15, 2006, at 14:02, Michael Ehrmann wrote:
Hi all,
I try to load a RAW image (e.g. .nef Nikon RAW format of a D70)
with -initWithContentsOfFile:(NSString*)filename. This creates a
NSImage object with one NSBitmapImageRep inside.
But the NSBitmapImageRep seems to be only a thumbnail (160x120
pixels) of the RAW image (3024 x 1998 pixels). Am I doing something
wrong? All other image formats seem to work.
Unfortunately no, what you get is the TIFF thumbnail which is
embedded in the RAW. AFAIK NSImage does not really support RAW images
(which is a bummer since Preview is capable of showing them).
In other words, is there another way to get a full resolution
NSBitmapImageRep of a RAW image?
We've been using dcraw http://www.cybercom.net/~dcoffin/dcraw/ to
convert the RAW image to PNG.
marco
Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden