Thumbnail Generator

This processor generates an image from a pdf or website.

Configuration

Example configuration in a processor:

{
  "type": "thumbnail-generator-processor",
  "name": "Thumbnail generator",
  "config": {
    "field": "my_record_input",
    "output": "my_record_output"
    "dimensions": {
      "width": 500,
      "height": 480
    }
  }
}

Configuration parameters:

field

(Required, boolean) The field in the record where the urls for the screenshots can be found.

output

(Optional, String) The field in the record where the resulting binary data can be accessed.

dimensions.width

(Required only if any dimensions config is used, Integer) Width, measured in pixels, of the window used to take the screenshot.

dimensions.height

(Required only if any dimensions config is used, Integer) Height, measured in pixels, of the window used to take the screenshot.

©2024 Pureinsights Technology Corporation