transforms html and replaces <img> tags with inline data URI driven images