• 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: RAW image format support in NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >RAW image format support in NSImage (From: Michael Ehrmann <email@hidden>)

  • Prev by Date: Re: dockable windows
  • Next by Date: Re: dockable windows
  • Previous by thread: RAW image format support in NSImage
  • Next by thread: Re: RAW image format support in NSImage
  • Index(es):
    • Date
    • Thread