---
title: inputImageMaximumSize()
framework: coreimage
role: symbol
role_heading: Instance Method
path: coreimage/cicontext/inputimagemaximumsize()
---

# inputImageMaximumSize()

Returns the maximum size allowed for any image rendered into the context.

## Declaration

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

## Discussion

Discussion Some contexts limit the maximum size of an image that can be rendered into 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

- [outputImageMaximumSize()](coreimage/cicontext/outputimagemaximumsize().md)
