Rasterize

Use the Rasterize integration to convert images, PDFs, email bodies, and image files to raster images.

Configure Rasterize on Demisto

  1. Navigate to Settings > Integrations > Servers & Services .
  2. Search for Rasterize.
  3. Click Add instance to create and configure a new integration instance.
    • Name : a textual name for the integration instance.
    • Use system proxy settings
    • with_errors : return warnings instead of errors.
  4. Click Test to validate the URLs, token, and connection.

Commands

You can execute these commands from the Demisto CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

  1. Rasterize a URL into an image or PDF: rasterize
  2. Rasterize an email body into an image: rasterize-email
  3. Rasterize an image file: rasterize-image

1. Rasterize a URL into an image or PD


Rasterize a URL into image or PDF

Base Command

rasterize

Input
Argument Name Description Required
url The URL to rasterize. Must be the full URL, including the http prefix. Required
width The page width, e.g., 50px (empty is entire page) Optional
height The page height, e.g., 50px (empty is entire page) Optional
type pdf or png, default is png Optional

Context Output

There is no context output for this command.

Command Example

Context Example
Human Readable Output

2. Rasterize an email body into an image


Rasterize an email body into an image.

Base Command

rasterize-email

Input
Argument Name Description Required
htmlBody HTML body of the email Required
width The email width, e.g., 50px (empty is entire email) Optional
height The page height, e.g., 50px (empty is entire email) Optional
type pdf or png. Default is png. Optional

Context Output

There is no context output for this command.

3. Rasterize an image file


Rasterize an image file.

Base Command

rasterize-image

Input
Argument Name Description Required
EntryID Entry ID of the image file Required
width The image width, e.g., 50px (empty is entire image) Optional
height The image height, e.g., 50px (empty is entire image) Optional

Context Output

There is no context output for this command.