.
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user