Class PDFToImage
java.lang.Object
de.uplanet.lucy.server.file.conversion.PDFToImage
Class for converting PDFs to images and vice versa.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
pdfFromImage
(Path p_filePdf, Path... p_filesImages) Converts images to a pdfvoid
pdfFromImage
(Path p_filePdf, List<Path> p_filesImages) Converts image to a pdfpdfToImage
(Path p_filePDF) Converting an PDF to imagespdfToImage
(Path p_filePDF, int p_iDPI, String p_strType) Converting an PDF to imagesvoid
pdfToImage
(Path p_filePDF, Path p_dirImages) Converting an PDF to imagesvoid
pdfToImage
(Path p_filePDF, Path p_dirImages, int p_iDPI, String p_strType) Converting an PDF to images
-
Constructor Details
-
PDFToImage
public PDFToImage()
-
-
Method Details
-
pdfToImage
Converting an PDF to images- Parameters:
p_filePDF
- PDF file- Returns:
- a path with a directory with image files
- Throws:
IOException
- if an error occurs
-
pdfToImage
Converting an PDF to images- Parameters:
p_filePDF
- PDF filep_iDPI
- image resolutionp_strType
- image type (tiff, png, jpeg)- Returns:
- a path with a directory with image files
- Throws:
IOException
- if an error occurs
-
pdfToImage
Converting an PDF to images- Parameters:
p_filePDF
- PDF filep_dirImages
- image directory- Throws:
IOException
- if an error occurs
-
pdfToImage
public void pdfToImage(Path p_filePDF, Path p_dirImages, int p_iDPI, String p_strType) throws IOException Converting an PDF to images- Parameters:
p_filePDF
- PDF filep_dirImages
- image directoryp_iDPI
- image resolutionp_strType
- image type (tiff, png, jpeg)- Throws:
IOException
- if an error occurs
-
pdfFromImage
Converts images to a pdf- Parameters:
p_filePdf
- destination PDF filep_filesImages
- image files- Throws:
IOException
- if an error occurs
-
pdfFromImage
Converts image to a pdf- Parameters:
p_filePdf
- destination PDF filep_filesImages
- image files- Throws:
IOException
- if an error occurs
-