Using this project one can convert the pdf file to jpg file using Java Programming language.
ABOUT THE PROJECT
This project has been coded in Java programming language. Using this project we can convert the required pdf file to the jpg file.
PREREQUISITES REQUIRED FOR PROJECT
To create this project one should have the knowledge of basic Java language. One should be familiar with the if else statements, try and catch statements, exception handling concepts, for loops.
IMPORTANT LIBRARIES AND CLASSES
SOURCE CODE DESCRIPTION
Declaring variables , such as Sdirectory, fileDestination, for the directory of the pdf and the jpeg files created from the code respectively . The if else conditional statements have been used to validate the existence of the file. Followed by the for loop for converting all the pdf pages to the jpeg file.
All this has been put in the try and catch block so as to catch the exception if any.