Scale

Scale the image by a given factor

Scale given file with scaling factor 100

image.file
image.file
image.mimeType
image.mimeType

The Scale block is for scaling up or down a JPEG or PNG image while maintaining the width/height ratio. The factor 100 will result in unchanged dimensions. Anything smaller will reduce the image dimensions. E.g. 50 will result in half the height and width. Larger values will scale up the image, as a side effect it will get blurry then.

Use cases

  • Preparing user generated (e.g. signature) or downloaded (probably dynamically generated) images for reduced output, e.g. a thumb preview.

Configuration

Clicking on given file in the title of the building block lets you pick the desired image from your Google Drive.

You can deselect the picked image by clicking on the x button on the right of the selected filename.

If no image has been picked, Ultradox will load the given image that is stored in the input variable.

Clicking on the 100 lets you pick the scale factor. You can also set a variable with numerical content, which then is rounded to the next multiple of 90.

Questions and Feedback

If you have any comments on this page, feel free to add suggestions right to the Google document that we are using to create this site.

If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.

Last Updated: 10/1/18