There is such a thing as an image field from the users perspective, if you use Adobe LiveCycle Designer you will clearly see an "Image Field" object in the library.
The "image field" value exists as a base64 encoded string. Simply convert your image to base64 string and then use that as the value. In my experiments I used FdfWriter.SetFieldAsString(fieldName, base64ImageString) to update the FDF. I found that SetFieldAsName failed due to a size contraint. I used the PdfStamper class' setFields method to import the fdf as I wanted to flatten the pdf. You may find that it is possible to set this value directly form the acroforms class. I know that this thread is old but it would have saved me a lot of research time if the answer was here. I am sharing it now to prevent fellow researchwers giving up hope. -- View this message in context: http://itext-general.2136553.n4.nabble.com/setting-imagefields-in-acroforms-tp2145497p3683352.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
