Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make media types configurable as options for the viewer #95

Open
lenisha opened this issue Apr 25, 2023 · 0 comments
Open

Make media types configurable as options for the viewer #95

lenisha opened this issue Apr 25, 2023 · 0 comments

Comments

@lenisha
Copy link

lenisha commented Apr 25, 2023

Hi
we are using Slim viewer and Azure Dicom service and need to pass Accept Header "transfer-syntax=*" as a first option, currently last.
Required for Dicom service to be able to stream large images

@hackermd

smithago added a commit to microsoft/dicom-server that referenced this issue Jun 5, 2023
…lity provided (#2753)

## Description
SLIM viewer sends multiple accept headers to get frames. Original is the
last, this causes us to pick another accept and fail because today our
code needs entire file to do transcoding and will throw when file size
is greater than 100M.

This fix will make us prioritize picking original if available in the
accept list.

## Related issues
ImagingDataCommons/dicom-microscopy-viewer#95

## Testing
Added unit tests

---------

Co-authored-by: smithasa <smithasa@SMITHASAMI1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant