Severity: Warning
Message: fopen(/tmp/ci_sessiontem15br6rqoulbtl87ogu9ln78jtrol2): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
By Chetan Singh
For building the project PDF to JPG converter. The code is in Java language. In this project you just have to add three libraries (pdfbox-2.0.16.jar, fontbox-2.0.16.jar, commons-logging-1.2.jar)
For building the project PDF to JPG converter, I have used eclipse as an IDE. The code is in Java language.
In this project you just have to add three libraries (pdfbox-2.0.16.jar, fontbox-2.0.16.jar, commons-logging-1.2.jar)
So basically this code takes the pdf document from the directory which user will provide and then convert it into jpg format in a destination folder.
I have used 300 dpi here (dpi : stands for dot per inches) which is directly proportional to the quality of image.
User have to input the directory of source file in .pdf format which is to be converted in .jpg format.
Then the code will ask you for the destination file where the .jpg file will be generated.
The output will be shown in your console like this.
Submitted by Chetan Singh (Chetan)
Download packets of source code on Coders Packet
Comments