<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/device-specific-value",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Device-Specific Value"
}
-->

# Device-Specific Value

A constant that is used by image representations to denote an attribute whose value changes to match the display device.

## Topics

### Constants

[`var NSImageRepMatchesDevice: Int`](/documentation/AppKit/NSImageRepMatchesDevice)

A constant indicating that the value of certain attributes, such as the number of colors or bits per sample, will change to match the display device.



---

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)