Activities
latest
false
Banner background image
Classic Integrations Activities
Last updated Apr 22, 2024

Get Thumbnail

UiPath.MicrosoftVision.Activities.GetThumbnail

The Get Thumbnail activity uses the Microsoft Vision API to generate a thumbnail for a specified image.

How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Add the Microsoft Vision Scope activity to your project.
  2. Add the Get Thumbnail activity inside the Microsoft Vision Scope activity.
  3. Create and enter variables for the Intput properties.
  4. Create and enter variables for the Output property.

Properties

Common
  • Continue On Error - This field only supports boolean values (True, False). The default value in this field is False. As a result, if this field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
  • DisplayName - The display name of the activity. This field supports only Strings or String variables.
Input
  • Image Path - The path to a local image to be analyzed. This field supports only Strings or String variables. If Image URL is provided, this field is ignored.
  • Image URL - The URL of an image to be analyzed. This field supports only Strings or String variables. If Image Path is provided, this field is ignored.
  • Height - Height of the thumbnail. It must be between 1 and 1024. Enter an Int32 or Int32 variable. Recommended minimum of 50.
  • Width - Width of the thumbnail. It must be between 1 and 1024. Enter an Int32 or Int32 variable. Recommended minimum of 50.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
  • Smart Cropping - Smart cropping helps when you specify an aspect ratio that differs from that of the input image. Enter a boolean or boolean variable.
Output
  • Result - The generated image. Enter a Image variable. You can use the activity to save a local copy of the thumbnail.
  • How it works
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.