Am 21.02.22 um 11:29 schrieb Bernhard Näckdal:
Dear users,

Can anyone give a hint on how to add a "alt text" to an image in a pdf-document 
created by PDFBox.

I would like the text to appear when hovering over the image.

I have already added the image to the document and all is looking good. Just missing the 
"alt text"
Never heard about something like an alt text. Where did you get that from? Do you have an example?


Andreas

I'm using the code

PDImageXObject pdImage = PDImageXObject.createFromByteArray(doc, imageBytes, 
"af_logo.png");



To add the image.





Thanks for your help



//Bernhard







---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to