ImagingDataCommons / dicomweb-client

Python client for DICOMweb RESTful services
https://dicomweb-client.readthedocs.io
MIT License
110 stars 38 forks source link

Outdated JPEG-LS media type for retrieval of frames #62

Closed hackermd closed 2 years ago

hackermd commented 2 years ago

When one passes media_types=('image/jls', '1.2.840.10008.1.2.4.80', ) to retrieve_instance_frames(), one gets the following error:

ValueError: Media type "image/jls" is not supported for requested resource

The reason for that is that the client still assumes image/x-jls instead of image/jls.