{"category":"image","endpoint":"https://setget.net/v1/tools/image-to-data-uri","examples":[{"input":{"image":"sample.png"},"title":"Inline a small PNG"},{"input":{"alt":"Logo","image":"sample.svg"},"title":"Inline an SVG"}],"input_schema":{"additionalProperties":false,"properties":{"alt":{"default":"","description":"Alternative text for the HTML img tag.","maxLength":300,"type":"string"},"image":{"description":"The image to encode, up to 512 KB. SVG files work too.","format":"setget-file","type":"string","x-accept":["image"]}},"required":["image"],"type":"object"},"keywords":["data uri","data url","base64 image","inline image","embed image","image to base64","css background","html img"],"related":["base64-encode","image-compress","image-resize","svg-optimize"],"slug":"image-to-data-uri","summary":"Turn an image into a base64 data URI, with HTML img and CSS background-image snippets ready to paste.","tier":"job","timeout_seconds":60,"title":"Image to data URI","url":"https://setget.net/tools/image-to-data-uri"}
