# Interface: AssetsOptions

Defined in: [../debuff/packages/assets/src/index.ts:63](https://github.com/debuffjp/debuff/blob/e8a91f30e2868fb5f4bd6f64059a677d31a3bce5/packages/assets/src/index.ts#L63)

Options for [Assets](../classes/Assets.md).

## Properties

### compressed?

> `optional` **compressed?**: `object`

Defined in: [../debuff/packages/assets/src/index.ts:69](https://github.com/debuffjp/debuff/blob/e8a91f30e2868fb5f4bd6f64059a677d31a3bce5/packages/assets/src/index.ts#L69)

Load GPU-compressed copies of images (written by `assets.compress` in debuff.config) instead of PNGs. Pass
the formats the renderer decodes and the parser: `{ formats: draw.compressedFormats, parse: parseKtx2 }`.
An image without a matching copy loads as PNG. Since 0.35.

#### formats

> **formats**: `ReadonlySet`\<`string`\>

#### parse

> **parse**: (`bytes`) => [`CompressedImage`](CompressedImage.md)

##### Parameters

###### bytes

`Uint8Array`

##### Returns

[`CompressedImage`](CompressedImage.md)
