# `GSBackgroundImage`

*Class*

A reference image attached directly to a layer.

## Declaration

```swift
class GSBackgroundImage
```

```objc
@interface GSBackgroundImage : GSImage
```

```python
class GSBackgroundImage(GSImage)
```

## Overview

A background image is independent of the layer’s editable background content.

## Topics

### Instance Methods

- [`GSBackgroundImage isEqualToBackgroundImage:`](/Core/GlyphsCore/GSBackgroundImage/isEqualToBackgroundImage:)

## Relationships

### Inherits From

- [`GSImage`](/Core/GlyphsCore/GSImage)

## See Also

### Background Image

- [`GSLayer.backgroundImage`](/Core/GlyphsCore/GSLayer/backgroundImage) — A reference image attached directly to the layer.
- [`GSLayer.hasBackgroundImage`](/Core/GlyphsCore/GSLayer/hasBackgroundImage) — Whether a background image is attached directly to the layer.
- [`GSLayer addBackgroundImageWithURL:`](/Core/GlyphsCore/GSLayer/addBackgroundImageWithURL:) — Adds an image from a file URL.

