ISO 32000-1:2008 a.k.a. PDF 1.7, clause 14.9 Accessibility Support covers 14.9.3 Alternate Descriptions, 14.9.4 Replacement Text, and 14.9.5 Expansion of Abbreviations and Acronyms. It has to do with Tagged PDF.
> -----Original Message----- > From: Andreas Lehmkuehler <andr...@lehmi.de> > Sent: Tuesday, 22 February 2022 4:32 PM > To: users@pdfbox.apache.org > Subject: Re: Add "alt text" to image > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org