Now supports <img> and data:uri information. Also supports sprite flipping.