#579 defines a processor, but it seems that HTML at least could use a generator for canvas's `toDataURL()`. I guess this needs to accept a MIME type and a bag of bits and maybe a base64 flag.