CONVERSION LOGIC
Decode an image Data URI
Parse the MIME type and payload, supporting both Base64 and percent-encoded Data URIs.
Image Data URIImage fileRuns locally
01Image Data URI
02Parse MIME + decode payload
03Image file
data:image/png;base64,... becomes a downloadable PNG blob.
The MIME type determines the output extension
The decoder derives the file type from the media type included in the Data URI.
Your content stays in the browser
Processing runs locally in the page without requiring the content to be sent to UtilityLake.
02
In short
What exactly does it do?
Parse the MIME type and payload, supporting both Base64 and percent-encoded Data URIs.
Example?
data:image/png;base64,... becomes a downloadable PNG blob.