---
description: >-
  Returns the signature of a signature control as a png (default) or svg image
  blob.
---

# getSignatureImageBlob

## Parameters

1. controlId - The id of the signature control
2. type - optional, if not set, the function returns a png image. If set to "svg", the function returns a svg vector image.

### Example Usages

```javascript
let myBlob = app.getSignatureImageBlob("mySignature"); //gets the blob as PNG
```

```javascript
let myBlob = app.getSignatureImageBlob("mySignature", "svg"); //gets the blob as SVG
```

```javascript
app.printBlob(app.getSignatureImageBlob("mySignature"));
```

### Return Values

The getSignatureImageBlob function returns a Promise that resolves to a Blob containing the image data of the signature represented by the specified controlId and type.
