Rasterizer
swimlane rasterize connector rasterizer is a document conversion service that enables users to convert pdfs to images, emails to pdfs, and urls to pdf documents this connector is maintained by swimlane rasterizer is a powerful document conversion tool that enables seamless transformation of emails, pdfs, and web pages into various formats with the rasterizer connector for swimlane turbine, users can automate the conversion of email attachments to pdf, transform pdfs into images, and convert urls directly into pdf documents this integration streamlines documentation processes within security workflows, enhancing archival, sharing, and analysis capabilities by leveraging rasterizer's functionality, swimlane turbine users can focus on critical security tasks without manual document handling, ensuring efficient and error free operations 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, enabling straightforward archiving and sharing with 'email attachment' input 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 being the mandatory 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