---
title: "init(exactly:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/vimage/size/init(exactly:)"
---

# init(exactly:)

Creates a size with dimensions specified as a Core Graphics size value.

## Declaration

```swift
init?(exactly size: CGSize)
```

## Parameters

- `size`: The size.

## Discussion

Discussion The height and width must be greater than 0 and exactly representable as an Int value.

## See Also

### Initializers

- [init(cvPixelBuffer:)](accelerate/vimage/size/init(cvpixelbuffer:).md)
- [init(exactWidth:height:)](accelerate/vimage/size/init(exactwidth:height:)-9nwk0.md)
- [init(exactWidth:height:)](accelerate/vimage/size/init(exactwidth:height:)-4ygbk.md)
- [init(width:height:)](accelerate/vimage/size/init(width:height:)-fzcb.md)
- [init(width:height:)](accelerate/vimage/size/init(width:height:)-8ly3k.md)
