Need to convert Image file into PDF

Hi,
We have a one scenario where want to convert image
(jpg/jpeg/png) file into PDF format.

We have tried that using ITextPDF Jar, but because of its
Commercials we cannot use it at Client Site.

If anyone knows the solution, kindly let us know.

Thanks & Regards,
Trupti

Hi,

You can use PDFBox library, here is the code for the
same

Regards,
Rohini