---
title: "ExtractedImage"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/extractedimage/"
---

# ExtractedImage

```ts
type ExtractedImage = ExtractedImageJs & object;
```

Defined in: [packages/sdk/src/types.ts:1570](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L1570)

One image a document draws, as a file: `format` `"jpeg"` or `"jpeg2000"` as stored, byte for
byte, or `"png"` decoded with its `/Decode`, colour space and mask; `data` holds the file's
bytes and `extension` its usual extension. `kind` is `"image"`, `"stencil"` (an image mask:
painted black, the rest white), or `"softMask"` / `"mask"`: the mask of a JPEG or JPEG 2000
image, which that file can't hold. `page` is the first page (0-based) that draws it, `object`
its object number (absent for an inline image), and `colorSpace` its family as `pdfimages
-list` names it.

## Type Declaration

### data

```ts
data: Uint8Array<ArrayBuffer>;
```

## Since

0.4.0
