Getting a file's icon > 32x32 (I want 128x128)
Getting a file's icon > 32x32 (I want 128x128)
- Subject: Getting a file's icon > 32x32 (I want 128x128)
- From: Rainer Brockerhoff <email@hidden>
- Date: Tue, 29 Jan 2002 08:13:09 -0200
>
Date: Mon, 28 Jan 2002 15:21:43 -0800
>
From: Brant Vasilieff <email@hidden>
>
>
Both NSFileWrapper's icon method and NSWorkspace's iconForFile: return
>
an image that is only 32x32.
>
>
_image = [[fileWrapper icon] retain];
>
or
>
_image = [[[NSWorkspace sharedWorkspace] iconForFile:inPath] retain];
>
>
I'd like to be able to get the 128x128 versions of the file's icon.
>
This is very puzzling.
_image = [[[NSWorkspace sharedWorkspace] iconForFile:inPath] retain];
[_image setSize:NSMakeSize(128,128)];
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Jan. 2002)