how to get a particular icon from .icns file
how to get a particular icon from .icns file
- Subject: how to get a particular icon from .icns file
- From: Nick Rogers <email@hidden>
- Date: Sun, 9 Mar 2008 18:58:26 +0530
Hi,
I have a icon file (.icns) with 10 icons in it and i want to create
an NSImage with only the 32x32 icon from this file.
Currently I'm doing:
NSImage *anIcon = [[NSImage alloc] initWithContentsOfFile:iconPath];
which results in a very big 128x128 icon.
Regards,
Nick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden