read as data url