• 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 15:36:27 +0100

I'll have to give that a try tonight. In the meantime, where would I send a bug report for this?

Pascal Pochet <email@hidden> wrote :

> According to March 2006 thread about the same topic, (quoted from
> Michael Ehrmann's post):
>
> &gt; The only way I found to work around this bug is to load the image
> &gt; with CIImage, as suggested by Daniel, directly from disk. Although
> &gt; using CIImage -initWithData: doesn't work. So I have to store the
> &gt; image temporarily on disk and load the file in order to get the raw
> &gt; image representation and not the thumbnail.
>
>
> Pascal Pochet
> email@hidden
>
> Le 26-juin-06 à 02:58, Drarok Ithaqua a écrit :
>
> &gt; On 26 Jun 2006, at 1:53 am, Uli Kusterer wrote:
> &gt;
> &gt;&gt; Am 26.06.2006 um 01:49 schrieb Drarok Ithaqua:
> &gt;&gt;&gt; I've used an NSTableView as the source of the images, the user
>
> &gt;&gt;&gt; drags all the files they want resizing into it.
> &gt;&gt;&gt; I used  [NSImage imageFileTypes];	to allow them to only drop
> &gt;&gt;&gt; files that NSImage can use.
> &gt;&gt;&gt;
> &gt;&gt;&gt; However! When I drop on a NEF (Nikon RAW) file, it gets the size
>
> &gt;&gt;&gt; totally wrong, I even outputted the image as loaded from disk
> &gt;&gt;&gt; into an NSImageView, and it's tiny. The pictures are from a 7
> &gt;&gt;&gt; megapixel camera, and look fine in Preview, but in my app,
> they're
> &gt;&gt;&gt; the size of the thumbails shown in Finder!
> &gt;&gt;
> &gt;&gt;  An NSImage's size isn't necessarily its width and height in
> &gt;&gt; pixels. You may have to set the width and height to the pixelsWide/
>
> &gt;&gt; pixelsHigh values of the NSImageRep in the NSImage to get it at a
> &gt;&gt; size where each pixel is equivalent to a unit. If the NEF file
> &gt;&gt; specifies its resolution as, say 360 dpi, it wouldn't be
> &gt;&gt; surprising that it might show up as rather small.
> &gt;&gt;
> &gt;&gt; Cheers,
> &gt;&gt; -- M. Uli Kusterer
> &gt;&gt; http://www.zathras.de
> &gt;&gt;
> &gt;&gt;
> &gt;
> &gt; No, I checked that already.
> &gt; Representations Width: 160, Height: 120
> &gt;
> &gt; That's the only representation available.
> &gt;
> &gt; _______________________________________________
> &gt; Do not post admin requests to the list. They will be ignored.
> &gt; Cocoa-dev mailing list      (email@hidden)
> &gt; Help/Unsubscribe/Update your Subscription:
>
> &gt; 40mac.com
> &gt;
> &gt; This email sent to email@hidden



___________________________________
NOCC, http://nocc.sourceforge.net


 _______________________________________________
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

  • Follow-Ups:
    • Re: NSImage bug? NEF Files.
      • From: Matt Gough <email@hidden>
  • Prev by Date: Re: If Functions
  • 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