Creates and returns an image object from the contents of a file, using the specified options.
Original signature is '+ (CIImage *)imageWithContentsOfURL:(NSURL *)url options:(NSDictionary *)d'
Available in 4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static CIImage ImageWithContentsOfURLOptions( NSURL url, NSDictionary d )
Public Shared Function ImageWithContentsOfURLOptions ( _ url As NSURL, _ d As NSDictionary _ ) As CIImage
public: static CIImage^ ImageWithContentsOfURLOptions( NSURL^ url, NSDictionary^ d )
Parameters
- url (NSURL)
- The location of the file.
- d (NSDictionary)
- A dictionary that contains options for creating an image object. You can supply such options as a pixel format and a color space. See “Pixel Formats.”
Return Value
An image object initialized with the contents of the file and set up with the specified options.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)