Function getBase64ImageBody
- getBase64ImageBody(str): string
Parameters
- str:
| `data:image/gif;base64,${string}`
| `data:image/jpeg;base64,${string}`
| `data:image/jpg;base64,${string}`
| `data:image/png;base64,${string}`
| `data:image/svg+xml;base64,${string}`
| `data:image/webp;base64,${string}`
Returns string
get the body data portion of a base64 image
Example