---
title: pixelsHigh
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsimagerep/pixelshigh
---

# pixelsHigh

The height of the image, measured in pixels.

## Declaration

```swift
var pixelsHigh: Int { get set }
```

## Discussion

Discussion The value of this property is the height of the image, measured in the units of the device coordinate space. This value is usually derived from the image data itself. Subclasses can use this property when loading image data to notify the parent class of the image height. Setting this property does not change the actual number of pixels in the image.

## See Also

### Related Documentation

- [NSImageRepMatchesDevice](appkit/nsimagerepmatchesdevice.md)
- [size](appkit/nsimagerep/size.md)

### Specifying Information About the Representation

- [bitsPerSample](appkit/nsimagerep/bitspersample.md)
- [colorSpaceName](appkit/nsimagerep/colorspacename.md)
- [hasAlpha](appkit/nsimagerep/hasalpha.md)
- [isOpaque](appkit/nsimagerep/isopaque.md)
- [pixelsWide](appkit/nsimagerep/pixelswide.md)
- [layoutDirection](appkit/nsimagerep/layoutdirection.md)
- [Device-Specific Value](appkit/device-specific-value.md)
