---
title: outputImageMaximumSize()
framework: coreimage
role: symbol
role_heading: Instance Method
path: coreimage/cicontext/outputimagemaximumsize()
---

# outputImageMaximumSize()

Returns the maximum size allowed for any image created by the context.

## Declaration

```swift
func outputImageMaximumSize() -> CGSize
```

## Discussion

Discussion Some contexts limit the maximum size of an image that can be created by them. For example, the maximum size might reflect a limitation in the underlying graphics hardware.

## See Also

### Determining the Allowed Extents for Images Used by a Context

- [inputImageMaximumSize()](coreimage/cicontext/inputimagemaximumsize().md)
