public class PDFToDicomImage extends Object
A class for converting PDF files into a single or multi frame DICOM Secondary Capture image with one frame per page.
| Constructor and Description |
|---|
PDFToDicomImage(String inputFile,
String outputFile,
String patientName,
String patientID,
String studyID,
String seriesNumber,
String instanceNumber,
int requestedDpi)
Read PDF file, and create a single or multi frame DICOM Secondary Capture image with one frame per page.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Read a PDF file, and create a single or multi frame DICOM Secondary Capture image with one frame per page.
|
public PDFToDicomImage(String inputFile, String outputFile, String patientName, String patientID, String studyID, String seriesNumber, String instanceNumber, int requestedDpi) throws IOException, DicomException, PdfException, Exception
Read PDF file, and create a single or multi frame DICOM Secondary Capture image with one frame per page.
inputFile - outputFile - patientName - patientID - studyID - seriesNumber - instanceNumber - requestedDpi - DicomExceptionIOExceptionPdfExceptionExceptionpublic static void main(String[] arg)
Read a PDF file, and create a single or multi frame DICOM Secondary Capture image with one frame per page.
arg - six parameters, the inputFile, outputFile, patientName, patientID, studyID, seriesNumber, instanceNumber, dots per inch