---
title: "image.info: Image Info — Vector kit command — Kition"
description: "Answers an image object's link, colour mode, pixel size, resolution and placed size."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/image.info"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/image.info](https://developer.kition.ai/docs/kits/vector/commands/image.info)

# image.info

**Image Info.** Answers an image object's link, colour mode, pixel size, resolution and placed size.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: no
- Acts on: `id` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `dxf` | `object` | no | read by the command beside its listed parameters |
| `id` | `integer` | no | object ID |
| `link` | `boolean` | no | read by the command beside its listed parameters |
| `page` | `integer` | no | read by the command beside its listed parameters |
| `thumbnail` | `number` | no | read by the command beside its listed parameters |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "image.info" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `dxf`, `id`, `link`, `page`, `thumbnail`. vector_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `colorMode` | `any` | no |  |
| `height` | `any` | no |  |
| `id` | `any` | no |  |
| `link` | `any` | no |  |
| `linked` | `any` | no |  |
| `name` | `any` | no |  |
| `pixelHeight` | `any` | no |  |
| `pixelWidth` | `any` | no |  |
| `ppi` | `any[]` | no |  |
| `width` | `any` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "colorMode": {},
    "height": {},
    "id": {},
    "link": {},
    "linked": {},
    "name": {},
    "pixelHeight": {},
    "pixelWidth": {},
    "ppi": {
      "type": "array"
    },
    "width": {}
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "dxf": {
      "additionalProperties": true,
      "description": "read by the command beside its listed parameters",
      "type": "object"
    },
    "id": {
      "description": "object ID",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "link": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    },
    "page": {
      "description": "read by the command beside its listed parameters",
      "type": "integer"
    },
    "thumbnail": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    }
  },
  "returns": "{id, name, linked, link, colorMode: RGB|Grayscale|CMYK, pixelWidth, pixelHeight, ppi: [x, y] at its placed size, width, height}",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
