Components
PDF Helper
null
null
Categories: Helpers
Type: pdfHelper/v1
Actions
Convert to Image
Name: convertToImage
Converts pdf to image.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
file | PDF File | FILE_ENTRY | The PDF file which will be converted to image. | true |
filename | Image Name | STRING | Name of the image. Every image will have index of the corresponding page in its name. | true |
Example JSON Structure
Output
Type: ARRAY
Items Type: FILE_ENTRY
Output Example
Extract Text
Name: extractText
Extracts text from a PDF file.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
file | PDF File | FILE_ENTRY | The PDF file from which to extract text. | true |
Example JSON Structure
Output
Type: STRING
Image to PDF
Name: imageToPdf
Converts image to PDF.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
image | Image | FILE_ENTRY | The image which will be converted to PDF. | true |
filename | Filename | STRING | The name of the PDF file. | true |
Example JSON Structure
Output
Type: FILE_ENTRY
Properties
Name | Type | Description |
---|---|---|
extension | STRING | |
mimeType | STRING | |
name | STRING | |
url | STRING |
Output Example
Text to PDF
Name: textToPdf
Converts text to PDF.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
text | Text | STRING | The text which will be converted to PDF. | true |
filename | Filename | STRING | The name of the PDF file. | true |
Example JSON Structure
Output
Type: FILE_ENTRY
Properties
Name | Type | Description |
---|---|---|
extension | STRING | |
mimeType | STRING | |
name | STRING | |
url | STRING |