> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/file/savebase64togallery.md).

# saveBase64ToGallery

## Description

Saves a base64 image to gallery.

## Input / Parameter

| Name    | Description                        | Input Type  | Default | Options | Required |
| ------- | ---------------------------------- | ----------- | ------- | ------- | -------- |
| base64  | The base64 data of the image file. | String/Text | -       | -       | Yes      |
| quality | The quality of the image file.     | String/Text | -       | -       | No       |
| prefix  | The prefix of the image file.      | String/Text | -       | -       | No       |

## Output

N/A

Note: The gallery will be updated to include the the base64 image saved.

## Callback?

### callback

The function to execute if the base64 image has been saved successfully.

### errCallback

The function to execute if the base64 image is not saved successfully.

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
