---
title: url
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/ciimage/url
---

# url

The URL from which the image was loaded.

## Declaration

```swift
var url: URL? { get }
```

## Discussion

Discussion 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

- [definition](coreimage/ciimage/definition.md)
- [extent](coreimage/ciimage/extent.md)
- [properties](coreimage/ciimage/properties.md)
- [colorSpace](coreimage/ciimage/colorspace.md)
- [orientationTransform(forExifOrientation:)](coreimage/ciimage/orientationtransform(forexiforientation:).md)
