Help Centre › Building Processes
This article describes the RPA File functionality to decode base64 image to file.
For a full list of available functions, please read FILE functions.
Description
The FILE Decode base64 image to file function allows you to decode base64 image to file.
Setting it up
To use the FILE Decode base64 image to file function, follow these instructions:
{{popups:rpas/add:action=file-decode-image}}
Once on a process map:
- Navigate to the process where you would like to add the FILE Decode base64 image to file function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the FILE Decode base64 image to file option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File | Yes | Text | - | The path to save the decoded image |
| Variable | Yes | Text | - | Variable containing the base64-encoded image data |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Invalid data | The variable does not contain valid base64 image data |
Tips
- Converts base64-encoded image data to an image file