Re: Retrieving URL from NSImage
Re: Retrieving URL from NSImage
- Subject: Re: Retrieving URL from NSImage
- From: Scott Stevenson <email@hidden>
- Date: Mon, 9 Apr 2007 23:54:01 -0700
On Apr 9, 2007, at 8:33 AM, Jim Turner wrote:
Is there a way to retrieve the URL an NSImage refers to when
created with
initByReferencingURL:?
The docs say that when an NSImage is archived, only the URL is
saved, so
there has to be a way to retrieve what it is. I just hope it's a
public
interface.
Or does it make more sense to ask the question: When NSImage is sent a
setDataRetained:, where's that data being saved and can I retrieve it?
I don't think you can get at this stuff through the public NSImage
interface.
Can you describe what you're trying to do in a big picture sense?
There are a lot of image classes available in Mac OS X, and it's
possible something other than NSImage might fit better.
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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