---
title: encodedPixels
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avassetimagegenerator/aperturemode-swift.struct/encodedpixels
---

# encodedPixels

A mode that applies neither pixel aspect ratio nor clean aperture.

## Declaration

```swift
static let encodedPixels: AVAssetImageGenerator.ApertureMode
```

## Discussion

Discussion The image isn’t cropped to the clean aperture region and isn’t scaled according to the pixel aspect ratio. It displays the image according to its encoded dimensions.

## See Also

### Aperture modes

- [cleanAperture](avfoundation/avassetimagegenerator/aperturemode-swift.struct/cleanaperture.md)
- [productionAperture](avfoundation/avassetimagegenerator/aperturemode-swift.struct/productionaperture.md)
