GenerateThumbnail

Estimated reading: 2 minutes 2173 views

A thumbnail is a reduced-size representation of an image. Thumbnails are used to represent images and other data in a more economical, layout-friendly way. The Computer Vision API uses smart cropping, together with resizing the image, to create intuitive thumbnails for a given image.

Properties

INPUT

Height:* Specify the required height of the thumbnail image. Recommended is 50.

ImagePath:Specify the path of the image for which a thumbnail must be generated.

Width:* Specify the required width of the thumbnail image. Recommended is 50.

MISC

Display Name: Displays the name of the activity. You can also customize the activity name to help troubleshoot issues faster. This name will be used for logging purposes.

SkipOnError: It specifies whether to continue executing the workflow even if it throws an error. This supports only Boolean value “True or False”
True: Continues to execute the workflow irrespective of any error thrown.
False: Stops the workflow if it throws any error

Version: It specifies the version of the Microsoft computer vision feature in use.

OPTION

SmartCropping: Specify true if the given aspect ratio differs from the input image. This accepts only Boolean values. This is not a mandatory field.

OUTPUT

Output: Declare a variable here to see the result of the analyzed image.This is not a mandatory field. However, to see the path of the generated thumbnail a variable must be declared here.

Result: Define a Boolean value to validate the success state of the activity. This is not a mandatory field.

*Represents Mandatory field to execute the workflow

Share this Doc

GenerateThumbnail

Or copy link

CONTENTS