---
title: "subImage(withFeatureChannelRange:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsimage/subimage(withfeaturechannelrange:)"
---

# subImage(withFeatureChannelRange:)

## Declaration

```swift
func subImage(withFeatureChannelRange range: NSRange) -> MPSImage
```
