data_uri

Function data_uri 

Source
pub fn data_uri(png: &[u8]) -> String
Expand description

2026-09-26: A fixture as a base64 data: URI, labelled image/png whatever its bytes; the server picks the decoder from the bytes. The server fetches http(s) image URLs only with --vision-allow-remote-images, so a data URI works on every serve and keeps the network out of the run.