• 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: Michael Ehrmann <email@hidden>
  • Date: Fri, 17 Mar 2006 17:26:37 +0100

Yes, I am on Tiger, and the problem only occurs with .nef images.

The only way I found to work around this bug is to load the image with CIImage, as suggested by Daniel, directly from disk. Although using CIImage -initWithData: doesn't work. So I have to store the image temporarily on disk and load the file in order to get the raw image representation and not the thumbnail.

With the RAW format of a Canon EOS 20D (.CR2) everything works fine.



On 17.03.2006, at 15:11, John C. Randolph wrote:


On Mar 15, 2006, at 5:02 AM, 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.

In other words, is there another way to get a full resolution NSBitmapImageRep of a RAW image?

I'd file a bug on that, .nef files are supported, according to the docs:


http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaDrawingGuide/Images/chapter_7_section_3.html#//apple_ref/doc/ uid/TP40003290-CH208-BCIIFBJG

You are on Tiger, right?

-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.




_______________________________________________ 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>)
 >Re: RAW image format support in NSImage (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Accessing window back buffer without deprecated functions in Tiger
  • Next by Date: How to find out if a TCP port is in use?
  • Previous by thread: Re: RAW image format support in NSImage
  • Next by thread: NSPredicate with CoreData SQL store behavior
  • Index(es):
    • Date
    • Thread