public class PDFToDicomImage
extends java.lang.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(java.lang.String inputFile,
java.lang.String outputFile,
java.lang.String patientName,
java.lang.String patientID,
java.lang.String studyID,
java.lang.String seriesNumber,
java.lang.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(java.lang.String[] arg)
Read a PDF file, and create a single or multi frame DICOM Secondary Capture image with one frame per page.
|
public PDFToDicomImage(java.lang.String inputFile, java.lang.String outputFile, java.lang.String patientName, java.lang.String patientID, java.lang.String studyID, java.lang.String seriesNumber, java.lang.String instanceNumber, int requestedDpi) throws java.io.IOException, DicomException, PdfException, java.lang.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
- DicomException
java.io.IOException
PdfException
java.lang.Exception
public static void main(java.lang.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