---
title: "settingProperties(_:)"
framework: coreimage
role: symbol
role_heading: Instance Method
path: "coreimage/ciimage/settingproperties(_:)"
---

# settingProperties(_:)

Return a new image by changing the receiver’s metadata properties.

## Declaration

```swift
func settingProperties(_ properties: [AnyHashable : Any]) -> CIImage
```

## Parameters

- `properties`: A dictionary of metadata properties akin to the CGImageSourceCopyPropertiesAtIndex() function.

## Return Value

Return Value  An autoreleased CIImage instance with a copy of the new properties.

## Discussion

Discussion When you create an image, Core Image sets an image’s properties to a metadata dictionary as described here: properties. Use this method to override an image’s metadata properties with new values.

## See Also

### Creating an Image by Modifying an Existing Image

- [applyingFilter(_:parameters:)](coreimage/ciimage/applyingfilter(_:parameters:).md)
- [applyingFilter(_:)](coreimage/ciimage/applyingfilter(_:).md)
- [transformed(by:)](coreimage/ciimage/transformed(by:).md)
- [transformed(by:highQualityDownsample:)](coreimage/ciimage/transformed(by:highqualitydownsample:).md)
- [cropped(to:)](coreimage/ciimage/cropped(to:).md)
- [oriented(forExifOrientation:)](coreimage/ciimage/oriented(forexiforientation:).md)
- [clampedToExtent()](coreimage/ciimage/clampedtoextent().md)
- [clamped(to:)](coreimage/ciimage/clamped(to:).md)
- [composited(over:)](coreimage/ciimage/composited(over:).md)
- [convertingWorkingSpaceToLab()](coreimage/ciimage/convertingworkingspacetolab().md)
- [convertingLabToWorkingSpace()](coreimage/ciimage/convertinglabtoworkingspace().md)
- [matchedToWorkingSpace(from:)](coreimage/ciimage/matchedtoworkingspace(from:).md)
- [matchedFromWorkingSpace(to:)](coreimage/ciimage/matchedfromworkingspace(to:).md)
- [premultiplyingAlpha()](coreimage/ciimage/premultiplyingalpha().md)
- [unpremultiplyingAlpha()](coreimage/ciimage/unpremultiplyingalpha().md)
