Improved image-based documents