643 matches
7 actions
PdfBroker.io
7 actions
- Basic method to verify api is up and runningGETv1.0.0
- Concatenate multiple pdf files into single pdf file..POSTv1.0.0
- Create pdf-file from complete XSL-FO document.POSTv1.0.0
- Create pdf-file from transforming xml document with Xsl-Fo transform document.POSTv1.0.0
- Generate an image of to provided pdf filePOSTv1.0.0
- Generate pdf file from url using the excellent tool wkhtmltopdf.POSTv1.0.0
- Write text on a page in a pdf document.POSTv1.0.0
Other/PdfBroker.io
Generate an image of to provided pdf file
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
{
"type": "object",
"properties": {
"Options": {
"type": "object",
"properties": {
"Height": {
"type": "integer",
"format": "int32",
"description": "Set the height of the output image, default value is width of source document. To scale height, and keeping proportions, do not set width;"
},
"HorizontalResolution": {
"type": "number",
"format": "double",
"description": "Set the horizontal resolution, default is 96 dpi;"
},
"ImageFormat": {
"type": "string",
"description": "Valid options are \"image/jpeg\", \"image/png\" or \"image/gif\". Default is \"image/png\""
},
"JpegQuality": {
"type": "integer",
"format": "int32",
"description": "Sets the quality of jpeg images, range 0 to 100, default is 75"
},
"PageNumber": {
"type": "integer",
"format": "int32",
"description": "Which page of the pdf file to generate image from, default is first page"
},
"PngCompressionLevel": {
"type": "integer",
"format": "int32",
"description": "Sets the png compression level, range 1 - 9, default is 6"
},
"Transparent": {
"type": "boolean",
"description": "Keep the background of the image transparent. This setting is not available in JPEG-files, since transparency is not supported in the JPEG format."
},
"VerticalResolution": {
"type": "number",
"format": "double",
"description": "Set the vertical resolution, default is 96 dpi;"
},
"Width": {
"type": "integer",
"format": "int32",
"description": "Set the width of the output image, default value is width of source document. To scale width, and keeping proportions, do not set height;"
}
},
"additionalProperties": false
},
"PdfFileBase64String": {
"type": "string",
"description": "The pdf file to generate image from, as Base64 encoded string."
}
},
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
{
"type": "object",
"description": "When setting the Accept-header in the request to \"application/json\" the image file will be return as Base64 encoded string. Note that converting data to Base64 encoded strings increases the response size with approximately 33%, if you can accept the a binary format it's better to use Accept-header \"image/jpeg\", \"image/png\" or \"image/gif\".",
"properties": {
"ErrorMessage": {
"type": "string",
"description": "If any error occurs the message will be displayed in here"
},
"ImageBase64String": {
"type": "string",
"description": "The Base64 encoded string that is the image file. This is a complete data uri, including media type that can be used directly as src on a img-tag e.g."
}
},
"additionalProperties": false
}