Generate Thumbnail from Image activity

An activity that creates views of your image in different sizes, shapes, and styles with the Get Thumbnail function in Microsoft Cognitive Services, and stores result of this function in your process schema.


Generate Thumbnail from Image activity

Configure the Generate Thumbnail from Image activity

To configure the Generate Thumbnail from Image activity, do the procedure in this topic.

Examples

Prerequisites

Good to Know

How to Start

  1. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  2. In the Process Builder, in the Activity Library, open the MS Cognitive Services tab.

    MS Cognitive Services tab
  3. On the MS Cognitive Services tab, drag the Generate Thumbnail From Image activity onto your process.

    Drag Generate Thumbnail From Image activity

General Configuration

Specifies the basic settings for the Generate Thumbnail from Image activity.

Figure: General Configuration screen

General Configuration screen

Fields

Field Name Definition

Display Name

Function:
Specifies the activity name that shows in your process.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Function:
Specifies an optional text description for your activity.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
No

Source Repository

Specifies the original, or source, location type for your files.

Figure: Source Repository screen

Source Repository screen

Fields

Field Name Definition

Amazon S3 Amazon S3 icon

Function:
Specifies that Amazon S3 is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > Amazon S3.

Box Box icon

Function:
Specifies that Box is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > Box.

Dropbox Dropbox icon

Function:
Specifies that Dropbox is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > Dropbox.

FTP FTP icon

Function:
Specifies that FTP is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > FTP.

Google Drive Google Drive icon

Function:
Specifies that Google Drive is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > Google Drive.

NetSuite NetSuite icon

Function:
Specifies that NetSuite is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > NetSuite.

OneDrive OneDrive icon

Function:
Specifies that OneDrive is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > OneDrive.

OneDrive for Business OneDrive For Business icon

Function:
Specifies that OneDrive for Business is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > OneDrive for Business.

Salesforce Salesforce icon

Function:
Specifies that Salesforce is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > Salesforce.

SFTP SFTP icon

Function:
Specifies that SFTP is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > SFTP.

SharePoint SharePoint icon

Function:
Specifies that SharePoint is the source location for your files.

To select your file in the source location, complete the fields on Generate Thumbnail From Image > Source Repository > SharePoint.

Generate Thumbnail from Image Configuration screen

Configures the request settings to create thumbnail from images.

Figure: Generate Thumbnail from Image Configuration screen

Generate Thumbnail from Image Configuration screen

Fields

Field Name Definition

MS Cognitive Services

Function:
Specifies the access token that connects to your Microsoft Cognitive Services.
Accepted Values:
A list of access tokens configured for your environment.

The selected access token must have the Microsoft Cognitive Service Type configured for Computer Vision API.

Default Value:
None
Example:
Refer to:

Create Add Token icon

Opens this Screen:
Access Token for Microsoft Cognitive Services
Function of this Screen:
Configure an access token to connect to Microsoft Cognitive Services.
Example:
Refer to:

Width

Function:
Specifies the width of the thumbnail image in pixels.
Accepted Values:
Between 1 px and 1024 px. The recommended size is 50 px.
Default Value:
None
Accepts Process Data Variables:
Yes

Height

Function:
Specifies the height of the thumbnail image in pixels.
Accepted Values:
Between 1 px and 1024 px. The recommended size is 50 px.
Default Value:
None
Accepts Process Data Variables:
Yes

Apply Smart Cropping

Function:
Specifies if cropping is applied to center align the thumbnail image on the region of interest.
Accepted Values:
  • Deselected - The thumbnail image is cropped to the center.
  • Selected - The thumbnail image is cropped to center align on the region of interest.
Default Value:
Deselected

Target Repository

Selects the target storage repository type for your files.

Figure: Target Repository screen

Target Repository screen

Fields

Field Name Definition

Amazon S3 Amazon S3 icon

Function:
Specifies that Amazon S3 is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > Amazon S3.

Box Box icon

Function:
Specifies that Box is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > Box.

Dropbox Dropbox icon

Function:
Specifies that Dropbox is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > Dropbox.

FTP FTP icon

Function:
Specifies that FTP is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > FTP.

Google Drive Google Drive icon

Function:
Specifies that Google Drive is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > Google Drive.

NetSuite NetSuite icon

Function:
Specifies that NetSuite is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > NetSuite.

OneDrive OneDrive icon

Function:
Specifies that OneDrive is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > OneDrive.

OneDrive for Business OneDrive For Business icon

Function:
Specifies that OneDrive for Business is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > OneDrive for Business.

Salesforce Salesforce icon

Function:
Specifies that Salesforce is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > Salesforce.

SFTP SFTP icon

Function:
Specifies that SFTP is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > SFTP.

SharePoint SharePoint icon

Function:
Specifies that SharePoint is the target location for your files.

To configure the target location for your file, complete the fields in Generate Thumbnail From Image > Target Repository > SharePoint.