Coders Packet

JPG to PDF Converter in Java

By Chetan Singh

To build this project, I have used java language and eclipse as an ide. You just have to add the i-text library to use this code.

You just have to add the i-text library if you want to add it externally in itext.jar format then you can download it from here

i-text

http://developers.itextpdf.com/itext-java

If you are doing it in the maven project then you can add this dependency to make it happen

 
    com.itextpdf
    itextpdf
    5.5.9
  

The code is simple you just have to provide the directory of .jpg file and the output directory thats it.
code

Download project

Reviews Report

Submitted by Chetan Singh (Chetan)

Download packets of source code on Coders Packet