@digitalpersona/core
Version:
DigitalPersona Web Access Core library
25 lines (14 loc) • 615 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/core](./core.md) > [FaceImage](./core.faceimage.md) > [fromDataURL](./core.faceimage.fromdataurl.md)
## FaceImage.fromDataURL() method
Extracts face image from a data URL. Only `data:image/jpeg;base64` is supported for now.
<b>Signature:</b>
```typescript
static fromDataURL(image: Base64String): FaceImage;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| image | <code>Base64String</code> | |
<b>Returns:</b>
`FaceImage`