Function

CGImageSourceCreateWithURL

Creates an image source that reads from a location specified by a URL.

Declaration

CGImageSourceRef CGImageSourceCreateWithURL(CFURLRef url, CFDictionaryRef options);

Parameters

url

The URL to read from.

options

A dictionary that specifies additional creation options. See Image Source Option Dictionary Keys for the keys you can supply.

Return Value

An image source. You are responsible for releasing this object using CFRelease.

See Also

Creating an Image Source

CGImageSourceCreateWithDataProvider

Creates an image source that reads data from the specified data provider.

CGImageSourceCreateWithData

Creates an image source that reads from a Core Foundation data object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software