• 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: NSImage bug? NEF Files.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage bug? NEF Files.


  • Subject: Re: NSImage bug? NEF Files.
  • From: Drarok Ithaqua <email@hidden>
  • Date: Mon, 26 Jun 2006 01:50:17 +0100

I could upload a NEF file for other people to try, but I thought I should say I checked the representations available -
there is only 1.


On 26 Jun 2006, at 1:07 am, Ryan Britton wrote:

I don't have experience with NEF files in particular, but RAW files will generally have a thumbnail of some sort embedded in them. My guess would be that NSImage, which wraps around ImageIO, is grabbing this instead of the full-sized image. You can do the ImageIO stuff yourself using CGImageSource and see if this is the case.

Ryan


On Jun 25, 2006, at 4:49 PM, Drarok Ithaqua wrote:

I've made an app to batch resize images, and all seems perfectly fine. I can resize JPGs, GIFs, etc etc.

I've used an NSTableView as the source of the images, the user drags all the files they want resizing into it.
I used [NSImage imageFileTypes]; to allow them to only drop files that NSImage can use.


However! When I drop on a NEF (Nikon RAW) file, it gets the size totally wrong, I even outputted the image as loaded from disk
into an NSImageView, and it's tiny. The pictures are from a 7 megapixel camera, and look fine in Preview, but in my app, they're
the size of the thumbails shown in Finder!


Is this a bug, or do I need to do something different with strange formats?

Thanks in advance.

 - Drarok
_______________________________________________
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


_______________________________________________ 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: 
 >NSImage bug? NEF Files. (From: Drarok Ithaqua <email@hidden>)
 >Re: NSImage bug? NEF Files. (From: Ryan Britton <email@hidden>)

  • Prev by Date: Re: NSUrlConnection doesn't work in NSEventTrackingRunLoopMode
  • Next by Date: Re: NSImage bug? NEF Files.
  • Previous by thread: Re: NSImage bug? NEF Files.
  • Next by thread: Re: NSImage bug? NEF Files.
  • Index(es):
    • Date
    • Thread