Rasterizer
17 min
swimlane rasterize connector rasterizer is a document conversion service that enables automated transformation of emails, urls, and pdfs into standardized pdf documents or images rasterizer is a powerful content conversion tool that enables users to transform various document formats within cybersecurity workflows it offers functionalities such as converting email attachments to pdfs, transforming pdfs into images, and turning urls into pdf documents integrating rasterizer with swimlane turbine allows end users to automate the conversion process, streamline document management, and enhance information sharing across security platforms this connector simplifies archival, analysis, and reporting tasks by providing easy to use conversion actions that can be incorporated into automated playbooks, reducing manual effort and accelerating response times capabilities this connector provides the following capabilities convert a pdf file to images convert a url to a pdf convert an email file to pdf tasks setup pdf file to image conversion if you want to convert only specific pages of a pdf, you can use the convert from page and convert till page parameters in the inputs (both values are inclusive) if you want to generate images in any other format than jpeg, you can use the format parameter in the inputs actions convert emails to pdf converts email attachments to pdf format for simplified archiving and sharing endpoint method get input argument name type required description email attachment array required file to be attached email attachment file string optional parameter for convert emails to pdf email attachment file name string optional name of the resource file name string optional custom filename for the generated pdf file ignore errors boolean optional ignore errors parsing an email defaults to false input example {"email attachment" \[{"file" "string","file name" "example name"}],"file name" "example name","ignore errors"\ true} output parameter type description file object attachments file file string output field file file file file name string name of the resource output example {"file" {"file" "string","file name" "example name"}} convert pdf to image converts a pdf file to images in the chosen format, requiring 'fmt' for image type and 'attachments' as input endpoint method get input argument name type required description attachments array required pdf file to be converted attachments file string optional parameter for convert pdf to image attachments file name string optional name of the resource fmt string required format of image files eg jpeg first page number optional page number to start conversion from default first page last page number optional page number to end conversion at default last page width number optional width of the images generated height should also be specified height number optional height of the images generated width should also be specified dpi number optional image quality in dpi of the images generated default 200 jpegopt string optional jpeg options (only for jpeg format) transparent boolean optional make the background transparent instead of white default false grayscale boolean optional generate grayscale images hide annotations boolean optional hide pdf annotations in the images input example {"attachments" \[{"file" "string","file name" "example name"}],"fmt" "jpeg","first page" 123,"last page" 123,"width" 123,"height" 123,"dpi" 123,"jpegopt" "string","transparent"\ true,"grayscale"\ true,"hide annotations"\ true} output parameter type description file array image files file file string output field file file file file name string name of the resource output example {"file" \[]} convert url to pdf converts a specified url into a pdf document, with the url as the required input endpoint method get input argument name type required description url string required url to convert file name string optional custom filename for the generated pdf file input example {"url" "https //example com/api/resource","file name" "example name"} output parameter type description file object attachments file file string output field file file file file name string name of the resource output example {"file" {"file" "string","file name" "example name"}} response headers header description example content type the media type of the resource application/json date the date and time at which the message was originated thu, 01 jan 2024 00 00 00 gmt