<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIImageAccumulator/imageAccumulatorWithExtent:format:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIImageAccumulator(cm)imageAccumulatorWithExtent:format:"
  },
  "title" : "imageAccumulatorWithExtent:format:"
}
-->

# imageAccumulatorWithExtent:format:

Creates an image accumulator with the specified extent and pixel format.

```
+ (instancetype) imageAccumulatorWithExtent:(CGRect) extent format:(CIFormat) format;
```

## Parameters

`extent`

A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.

`format`

The format and size of each pixel. You must supply a pixel format constant, such as  kCIFormatARGB8  (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See [`CIImage`](/documentation/CoreImage/CIImage) for more information about pixel format constants.

## Return Value

The image accumulator object.

## See Also

  [Core Image Programming Guide](https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro/ci_intro.html#//apple_ref/doc/uid/TP30001185)

[`-  initWithExtent:format:`](/documentation/CoreImage/CIImageAccumulator/init(extent:format:))

Initializes an image accumulator with the specified extent and pixel format.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)