Save Preview To File

With this node you can save a preview of a file.

It has the following configuration options:
  • Input File: here you can specify the files where you want to generate a preview from. Select the pencil to open Expression Builder.
  • Page: here you can select the page from the file. If you set the value to 0, the preview is generated from the first page.
    Note: You need to set the value to 0 as well for single page documents.
  • Output File: here you can specify the result names for the generate preview file(s). If you leave this field blank, a file with a default name (this is, the original name but with the correct extension for the selected image format) will be written in the same folder as the input file. The used file path follows the standard input-output file name combination rules in CLOUFLOW. See Output File Path Generation for more information.
    You can either specify one or several values in this field.
    • In case you specify one value, this value will be combined with each input file to generate an output file.
    • In case you specify several values, each value will be combined with each input file to generate an output file.
  • Mode: here you can specify the data to use when generating the preview data. Options:
    • Data From Thumbnail: in this case the saved preview will be based on the thumbnail calculated by CLOUDFLOW. This thumbnail is always 512 pixels and you cannot change it. This is a fast operation since the preview is obtained from the database.
      Note: Using this option with PNG will result in files with compression artifacts because the thumbnail is stored in the database as a JPEG file.
    • Calculate Preview: in this case the saved preview will be calculated, and you can select the size. This can be much slower than Data From Thumbnail because the node needs to render the file.
  • Image Type: here you can specify the image format to use when saving the preview (JPEG of PNG).
  • Preview Size: here you can specify the size of the preview. This option is not available when Mode is set to Data From Thumbnail.
  • Overwrite existing file: if you select this checkbox, files that already exist will be overwritten. If you leave this checkbox unselected, existing files will not be overwritten and an error is displayed.