On 14/07/2010, at 9:55 PM, Vincenzo Morgante wrote:

> Well,I read the documentation at 
> link<http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/LoadingResources/ImageSoundResources/ImageSoundResources.html>
> and the example [NSImage imageNamed:]...
> However in this way I get a NSImage, but I need of an IplImage object...So I 
> should convert NsImage to IplImage by get the pixel values: is it possible?


You could but it's likely inefficient. Instead go back a step to [NSBundle 
pathForResource:ofType:] and related methods. Using that you could write an 
equivalent method such as [IplImage imageNamed:] or just use it 'as is'.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to