.
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ def pil_dicom_image(source, exif_orientation=True, **options):
|
||||
#source = BytesIO(source.read())
|
||||
|
||||
# open file with pydicom
|
||||
ds = pydicom.read_file(source)
|
||||
ds = pydicom.dcmread(source)
|
||||
|
||||
# return the image file
|
||||
return get_PIL_image(ds)
|
||||
|
||||
Reference in New Issue
Block a user