itextpdf API to generate PDF doc from an image file using Pega PE
Probably some of the techies might have an idea on an opensource called "itextpdf" (earlier name is lowagie) to convert an image file(png,jpeg,jpg,tiff,gif etc.) to a PDF file. It is very simple to use this API in Pega function to build the logic using java code. Moreover, this API comes in one single jar file and we need to import it in Pega before we start using it.
I see the conversion comes good in PDF file but not sure if any limitations of this API in terms of conversion is like formatting, font, images etc. So far so good and may be we can keep this API as one of our solutions while working on the requirements accordingly.
Heard that same API can be used to convert the text file to PDF but I didn't explore on it. Those who are interested to work on text -> PDF can take a look at the documentation. Don't hesitate to contact me offline for any further discussion in this context :) :)
Prerequisites for doing this exercise:
1) itextpdf 5.4.0 jar file
2) Pega PE or any Sandbox running on V8.x
References:
1) Google.com
2) Pega Community site
