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 schema.



Configure the Generate Thumbnail from Image activity

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

Good to Know

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Cognitive Services tab.
      2. On the Cognitive Services tab, drag the Generate Thumbnail From Image activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.

Procedure

  1. Complete the fields on the General Configuration screen.

    For more information, refer to Configure General Options for a System Activity.

  2. Click Source Configuration .
  3. On the Source Repository screen, select the source location for your file.
  4. Click Generate Thumbnail From Image Configuration .
  5. Complete the fields on the Generate Thumbnail from Image Configuration screen.

    For more information, refer to Create Thumbnail from Images with Microsoft Cognitive Services.

  6. Click Target Configuration .
  7. On the Target Repository screen, select the target location for your file.
  8. (Optional) Click Advanced > E-mail Notifications .

    For more information, refer to Configure E-mail Notifications for Any Activity.

General Configuration

Specifies the common information for a system activity.

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

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.

Screen



Fields

Field Name Definition

Amazon S3

Function:
Specifies that Amazon S3 is your document source location.

To select your file in the source location, complete the fields on Source Repository Configuration (Amazon S3) - Generate Thumbnail from Image.

Box

Function:
Specifies that Box is your document source location.

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

Dropbox

Function:
Specifies that Dropbox is your document source location.

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

FTP

Function:
Specifies that FTP is your document source location.

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

Google Drive

Function:
Specifies that Google Drive is your document source location.

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

NetSuite

Function:
Specifies that NetSuite is your document source location.

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

OneDrive

Function:
Specifies that OneDrive is your document source location.

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

OneDrive For Business

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

To select your file in the source location, complete the fields on Source Repository Configuration (OneDrive For Business) - Generate Thumbnail From Image.

Salesforce

Function:
Specifies that Salesforce is your document source location.

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

SFTP

Function:
Specifies that SFTP is your document source location.

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

SharePoint

Function:
Specifies that SharePoint is your document source location.

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

Generate Thumbnail from Image Configuration screen

Configures the request settings to create thumbnail from images.

Screen



Fields

Field Name Definition

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 Cognitive Service Type configured for Computer Vision API.

Default Value:
None

Add Token

Opens this Screen:
New Microsoft Cognitive Services Access Token
Function of this Screen:
Configures a new access token for Microsoft Cognitive Services.

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.

Screen



Fields

Field Name Definition

Amazon S3

Function:
Specifies that Amazon S3 is your document target location.

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

Box

Function:
Specifies that Box is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (Box) - Generate Thumbnail from Image.

Dropbox

Function:
Specifies that Dropbox is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (Dropbox) - Generate Thumbnail from Image.

FTP

Function:
Specifies that FTP is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (FTP) - Generate Thumbnail from Image.

Google Drive

Function:
Specifies that Google Drive is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (Google Drive) - Generate Thumbnail from Image.

NetSuite

Function:
Specifies that NetSuite is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (NetSuite) - Generate Thumbnail from Image.

OneDrive

Function:
Specifies that OneDrive is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (OneDrive) - Generate Thumbnail from Image.

OneDrive For Business

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

To configure the target location for your file, complete the fields in Target Repository Configuration (OneDrive For Business) - Generate Thumbnail from Image.

Salesforce

Function:
Specifies that Salesforce is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (Salesforce) - Generate Thumbnail from Image.

SFTP

Function:
Specifies that SFTP is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (SFTP) - Generate Thumbnail from Image.

SharePoint

Function:
Specifies that SharePoint is your document target location.

To configure the target location for your file, complete the fields in Target Repository Configuration (SharePoint) - Generate Thumbnail from Image.