Created
November 17, 2020 11:09
-
-
Save aspose-com-gists/b11b576c9b691959cec402b2141bd6ea to your computer and use it in GitHub Desktop.
Convert DICOM to GIF 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"); | |
GifOptions gifOptions = new GifOptions(); | |
// Save as GIF | |
dicomImage.save("src/main/resources/Output/DICOM_to_GIF.gif", gifOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment