Skip to content

PDF Helper

null

Categories: Helpers

Type: pdfHelper/v1


Actions

Convert to Image

Name: convertToImage

Converts pdf to image.

Properties

NameLabelTypeDescriptionRequired
filePDF FileFILE_ENTRYThe PDF file which will be converted to image.true
filenameImage NameSTRINGName of the image. Every image will have index of the corresponding page in its name.true

Example JSON Structure

{
"label" : "Convert to Image",
"name" : "convertToImage",
"parameters" : {
"file" : {
"extension" : "",
"mimeType" : "",
"name" : "",
"url" : ""
},
"filename" : ""
},
"type" : "pdfHelper/v1/convertToImage"
}

Output

Type: ARRAY

Items Type: FILE_ENTRY

Output Example

[ {
"extension" : "",
"mimeType" : "",
"name" : "",
"url" : ""
} ]

Extract Text

Name: extractText

Extracts text from a PDF file.

Properties

NameLabelTypeDescriptionRequired
filePDF FileFILE_ENTRYThe PDF file from which to extract text.true

Example JSON Structure

{
"label" : "Extract Text",
"name" : "extractText",
"parameters" : {
"file" : {
"extension" : "",
"mimeType" : "",
"name" : "",
"url" : ""
}
},
"type" : "pdfHelper/v1/extractText"
}

Output

Type: STRING

Image to PDF

Name: imageToPdf

Converts image to PDF.

Properties

NameLabelTypeDescriptionRequired
imageImageFILE_ENTRYThe image which will be converted to PDF.true
filenameFilenameSTRINGThe name of the PDF file.true

Example JSON Structure

{
"label" : "Image to PDF",
"name" : "imageToPdf",
"parameters" : {
"image" : {
"extension" : "",
"mimeType" : "",
"name" : "",
"url" : ""
},
"filename" : ""
},
"type" : "pdfHelper/v1/imageToPdf"
}

Output

Type: FILE_ENTRY

Properties

NameTypeDescription
extensionSTRING
mimeTypeSTRING
nameSTRING
urlSTRING

Output Example

{
"extension" : "",
"mimeType" : "",
"name" : "",
"url" : ""
}

Text to PDF

Name: textToPdf

Converts text to PDF.

Properties

NameLabelTypeDescriptionRequired
textTextSTRINGThe text which will be converted to PDF.true
filenameFilenameSTRINGThe name of the PDF file.true

Example JSON Structure

{
"label" : "Text to PDF",
"name" : "textToPdf",
"parameters" : {
"text" : "",
"filename" : ""
},
"type" : "pdfHelper/v1/textToPdf"
}

Output

Type: FILE_ENTRY

Properties

NameTypeDescription
extensionSTRING
mimeTypeSTRING
nameSTRING
urlSTRING

Output Example

{
"extension" : "",
"mimeType" : "",
"name" : "",
"url" : ""
}