Instance Property


The URL from which the image was loaded.


var url: URL? { get }


A URL is available only if the image object was created with a URL (such as with the init(contentsOf:) method or related methods). Otherwise, this property’s value is nil.

See Also

Getting Image Information

var definition: CIFilterShape

Returns a filter shape object that represents the domain of definition of the image.

var extent: CGRect

A rectangle that specifies the extent of the image.

var properties: [String : Any]

A dictionary containing metadata about the image.

var colorSpace: CGColorSpace?

The color space of the image.

func orientationTransform(forExifOrientation: Int32) -> CGAffineTransform

Returns the transformation needed to reorient the image to the specified orientation.