pdf_to_jpg
verifiedv0.1Renders each page of one PDF to JPEG or PNG images in the browser (max 30 pages). Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded) plus optional format, dpi (72, 96, 150, or 300), and quality. Variant URLs are not a second machine Tool — pass format explicitly. Do not use this to build a PDF from images (that is jpg_to_pdf) or to extract PDF pages (that is pdf_split).
Updated 9/3/2026 · Created 9/3/2026
Input Schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"dpi": {
"enum": [
72,
96,
150,
300
],
"type": "number",
"default": 150
},
"pdf": {
"type": "object",
"required": [
"mime",
"base64"
],
"properties": {
"mime": {
"type": "string",
"const": "application/pdf"
},
"base64": {
"type": "string",
"maxLength": 16777220,
"minLength": 1
}
},
"additionalProperties": false
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string",
"default": "jpeg"
},
"quality": {
"type": "number",
"default": 0.92,
"maximum": 1,
"minimum": 0.1
}
},
"additionalProperties": false
}Full Contract
{
"name": "pdf_to_jpg",
"description": "Renders each page of one PDF to JPEG or PNG images in the browser (max 30 pages). Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded) plus optional format, dpi (72, 96, 150, or 300), and quality. Variant URLs are not a second machine Tool — pass format explicitly. Do not use this to build a PDF from images (that is jpg_to_pdf) or to extract PDF pages (that is pdf_split).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"dpi": {
"enum": [
72,
96,
150,
300
],
"type": "number",
"default": 150
},
"pdf": {
"type": "object",
"required": [
"mime",
"base64"
],
"properties": {
"mime": {
"type": "string",
"const": "application/pdf"
},
"base64": {
"type": "string",
"maxLength": 16777220,
"minLength": 1
}
},
"additionalProperties": false
},
"format": {
"enum": [
"jpeg",
"png"
],
"type": "string",
"default": "jpeg"
},
"quality": {
"type": "number",
"default": 0.92,
"maximum": 1,
"minimum": 0.1
}
},
"additionalProperties": false
}
}GET /api/tool/simpletoolstack.com/pdf_to_jpg