CGImageSourceCreateWithURL(_:_:)
Creates an image source that reads from a location specified by a URL.
Declaration
func CGImageSourceCreateWithURL(_ url: CFURL, _ options: CFDictionary?) -> CGImageSource?Parameters
- url:
The URL of the image.
- options:
A dictionary that specifies additional creation options. For a list of possible values, see Cgimagesource.
Return Value
An image source. You’re responsible for releasing this type using CFRelease.