Re: A question about [NSImage initByReferencingFile:filename]
Re: A question about [NSImage initByReferencingFile:filename]
- Subject: Re: A question about [NSImage initByReferencingFile:filename]
- From: Chris Gehlker <email@hidden>
- Date: Tue, 04 Sep 2001 07:12:32 -0700
On 9/4/01 6:17 AM, "Andreas Monitzer" <email@hidden> wrote:
>
On Tuesday, September 4, 2001, at 02:44 , Chris Gehlker wrote:
>
>
> The docs say that filename can be a relative or absolute path. I'm not
>
> having problems when filename is an absolute path. My assumption that
>
> relative means relative to the application bundle seems to be false. So my
>
> question is "relative to what?".
>
>
I guess relative to the current directory, which is ironically / when the
>
app is double-clicked from the Finder.
Yep! I built a command line tool to test it. The idea of a command line
image editor is just to foreign for me to have guessed that. In hindsight,
it's obvious.
--
The secret of life is honesty and fair dealing. If you can fake that,
you've got it made. -Groucho Marx