Re: how to create a CIImage object from a given path safely?

2008-12-21 Thread Scott Andrew
I think the best method to create from a file is  
imageWithContentsOfURL..


CIImage* image = [CIImage imageWithContentsOfURL:[NSURL  
urlWithPath:somePath]];


Scott

On Dec 21, 2008, at 7:50 AM, Alex.Wang wrote:


Hi everyone.
As the topic mentioned, I wanted to use a method to create a CIImage  
object

from the given file path neatly, quickly and safely.
I have investigated on these field for a while. However, since there  
are too
many methods which can be used to do that, I don't know which one  
should be

the best.
Can anyone here give some advice? Thank you very much.
Best wishes.

--
Best regards.
___

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/scottandrew%40roadrunner.com

This email sent to scottand...@roadrunner.com


___

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


how to create a CIImage object from a given path safely?

2008-12-21 Thread Alex . Wang
Hi everyone.
As the topic mentioned, I wanted to use a method to create a CIImage object
from the given file path neatly, quickly and safely.
I have investigated on these field for a while. However, since there are too
many methods which can be used to do that, I don't know which one should be
the best.
Can anyone here give some advice? Thank you very much.
Best wishes.

-- 
Best regards.
___

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