Re: NSImage initWithPasteboard:
Re: NSImage initWithPasteboard:
- Subject: Re: NSImage initWithPasteboard:
- From: Marc Lohse <email@hidden>
- Date: Mon, 14 Jan 2008 08:01:47 +0100
(also noob question:)
If the pasteboard contains the filename and URL shouldn't it
be possible to use -initWithContentsOfFile: or -initWithContentsOfURL:
to initialize your image?
marc
John Dalbec schrieb:
N00b question:
If I copy or drag an image file from the (Mac OS X 10.4.11) Finder,
the Finder puts the filename and URL and icon on the pasteboard. If
I use initWithPasteboard in my application, it uses the icon instead
of loading the contents of the file. What's the best way to work
around this?
Thanks,
John
_______________________________________________
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
--
---------------------------------------------------
Dr. Marc Lohse
Max-Planck-Institute of molecular Plant Physiology
Dept. Bock
Am Muehlenberg 1
14476 Potsdam-Golm
Tel. : 0331-5678-313
e-mail : email@hidden
---------------------------------------------------
_______________________________________________
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