If you want to show an attribute value on top of a scanned image, you can do it using a document template of type Report. Add the scanned image as a picture element, then place a tag element with the attribute value on top of the image where required.
The system will create a PDF file when generating the actual document from the template.