<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/ArtworkRepresentation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying21ArtworkRepresentationV"
  },
  "title" : "ArtworkRepresentation"
}
-->

# ArtworkRepresentation

An artwork image representation, such as music album cover art, associated with a media item.

```
struct ArtworkRepresentation
```

## Overview

The system may display this artwork on the Lock Screen, in Control Center, and on
connected accessories.

## Topics

### Initializers

[`init(cgImage: CGImage) throws`](/documentation/NowPlaying/ArtworkRepresentation/init(cgImage:))

Creates an [`ArtworkRepresentation`](/documentation/NowPlaying/ArtworkRepresentation) from a `CGImage` instance.

[`init(data: Data) throws`](/documentation/NowPlaying/ArtworkRepresentation/init(data:))

Creates an [`ArtworkRepresentation`](/documentation/NowPlaying/ArtworkRepresentation) from image data.

### Enumerations

[`enum ArtworkRepresentationError`](/documentation/NowPlaying/ArtworkRepresentation/ArtworkRepresentationError)

Errors that can occur when creating an [`ArtworkRepresentation`](/documentation/NowPlaying/ArtworkRepresentation).

---

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)