---
title: "page.listImages: List page images — PDF kit command — Kition"
description: "The raster images and grouped Form artwork a page draws (Edit a PDF): number, box (top-left-origin points), kind (image/form), pixel size ([0,0] for forms) and resource name. Forms include nested graphics and are edited as a whole. Numbers count forms and images together in drawing order, so a page with forms numbers its images differently than before forms were listed: always take numbers from a fresh page.listImages call."
canonical: "https://developer.kition.ai/docs/kits/pdf/commands/page.listImages"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/pdf/commands/page.listImages](https://developer.kition.ai/docs/kits/pdf/commands/page.listImages)

# page.listImages

**List page images.** The raster images and grouped Form artwork a page draws (Edit a PDF): number, box (top-left-origin points), kind (image/form), pixel size ([0,0] for forms) and resource name. Forms include nested graphics and are edited as a whole. Numbers count forms and images together in drawing order, so a page with forms numbers its images differently than before forms were listed: always take numbers from a fresh page.listImages call.

- Kit: PDF 0.1.0 (.pdf); reference: [PDF kit commands](https://developer.kition.ai/docs/kits/pdf.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | `integer` | yes | (minimum 1) |

## Call through pdf_run

```text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "page.listImages", "params": { "page": <integer> } }]
}
```

The required parameters, with placeholders for their types: not a tested example. pdf_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `count` | `number` | no |  |
| `images` | `any[]` | no |  |
| `page` | `number` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "count": {
      "type": "number"
    },
    "images": {
      "type": "array"
    },
    "page": {
      "type": "number"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "page": {
      "description": "(minimum 1)",
      "type": "integer"
    }
  },
  "required": [
    "page"
  ],
  "type": "object"
}
```

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0 and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725).
