This commit is contained in:
Ross
2021-02-14 10:40:34 +00:00
parent 12f8f64175
commit c8020bdba0
3 changed files with 5 additions and 5 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ def pil_dicom_image(source, exif_orientation=True, **options):
# return
#source = BytesIO(source.read())
ds = pydicom.read_file("filename")
print("start pdi")
ds = pydicom.read_file(source)
image = get_PIL_image(ds)