Created
November 20, 2020 09:18
-
-
Save aspose-com-gists/6834d532dabcadaf5eea271dd4c09ee0 to your computer and use it in GitHub Desktop.
Convert DICOM to PDF in Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DicomImage dicomImage = (DicomImage) Image.load("src/main/resources/image.dcm"); | |
PdfOptions pdfOptions = new PdfOptions(); | |
// Save as PDF | |
dicomImage.save("src/main/resources/Output/DICOM_to_PDF.pdf", pdfOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment