PDFShift · Schema

ImageConvertForm

PDFHTML to PDFDocument ConversionScreenshotChromiumREST API

Properties

Name Type Description
viewport string Default size of the rendering window. This will define the size of your image when using fullpage. Format in {width}x{height} (in pixels).
transparent boolean If set to true, the image will have a transparent background. **Note**: This option is only available when outputting PNG images.
fullpage boolean Capture the full scrollable page. Only one of `fullpage`, `css_selector`, or `clip` can be set.
css_selector string CSS selector for the element to capture. Only one of `fullpage`, `css_selector`, or `clip` can be set.
clip object Clip region to capture. Only one of `fullpage`, `css_selector`, or `clip` can be set.
quality integer Quality of the output image (only for JPEG, 10-100).
dpi integer DPI scaling factor. Must be one of 1, 2, or 4.
View JSON Schema on GitHub

JSON Schema

imageconvertform.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pdfshift/refs/heads/main/json-schema/imageconvertform.json",
  "title": "ImageConvertForm",
  "type": "object",
  "properties": {
    "viewport": {
      "type": "string",
      "default": "1280x1024",
      "description": "Default size of the rendering window. This will define the size of your image when using fullpage. Format in {width}x{height} (in pixels)."
    },
    "transparent": {
      "type": "boolean",
      "default": false,
      "description": "If set to true, the image will have a transparent background.\n**Note**: This option is only available when outputting PNG images."
    },
    "fullpage": {
      "type": "boolean",
      "default": false,
      "description": "Capture the full scrollable page.\nOnly one of `fullpage`, `css_selector`, or `clip` can be set."
    },
    "css_selector": {
      "type": "string",
      "default": null,
      "description": "CSS selector for the element to capture.\nOnly one of `fullpage`, `css_selector`, or `clip` can be set."
    },
    "clip": {
      "type": "object",
      "description": "Clip region to capture.\nOnly one of `fullpage`, `css_selector`, or `clip` can be set.",
      "properties": {
        "width": {
          "type": "integer",
          "minimum": 1,
          "description": "Width of the region to capture (in pixels)."
        },
        "height": {
          "type": "integer",
          "minimum": 1,
          "description": "Height of the region to capture (in pixels)."
        },
        "x": {
          "type": "integer",
          "description": "X coordinate of the top-left corner (in pixels)."
        },
        "y": {
          "type": "integer",
          "description": "Y coordinate of the top-left corner (in pixels)."
        }
      },
      "required": [
        "width",
        "height",
        "x",
        "y"
      ]
    },
    "quality": {
      "type": "integer",
      "minimum": 10,
      "maximum": 100,
      "default": 80,
      "description": "Quality of the output image (only for JPEG, 10-100)."
    },
    "dpi": {
      "type": "integer",
      "enum": [
        1,
        2,
        4
      ],
      "default": 1,
      "description": "DPI scaling factor. Must be one of 1, 2, or 4."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/imageconvertform"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.