Friday, September 16, 2011

Displaying Base64 images in Designer

A recent project required me to write a custom component to merge image data with some text.  This was simple enough in itself but testing the output Base64 image data with PDF files proved a pain.  As a result I made a very simple PDF in Designer which allows you to test your Base64 encoded image strings to see how they'll look in a PDF document.  The following link will let you download the form which can be opened in designer.  The archive also contains a very basic data schema and test data to get you started.  Just replace the Base64 string in the "sampleData.xml" file with your own string.  Fire up Designer and click the Preview tab to see if the image is displaying properly.

Download Base64ImageTest.zip

1 comment:

  1. [...] Original article at http://michaelsteward.com/2011/09/16/displaying-base64-images-in-designer/. acrobat ADEP custom component designer DSC LiveCycle [...]

    ReplyDelete