---
title: imageBounds()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qcpluginoutputimageprovider/imagebounds()
---

# imageBounds()

Returns the bounds of the image expressed in pixels and aligned to integer boundaries.

## Declaration

```swift
func imageBounds() -> NSRect
```

## Return Value

Return Value The bounds of the image. Note that the QCPlugIn class does not support images that have infinite bounds.

## See Also

### Providing Information About the Image

- [imageColorSpace()](quartz/qcpluginoutputimageprovider/imagecolorspace().md)
- [shouldColorMatch()](quartz/qcpluginoutputimageprovider/shouldcolormatch().md)
