FNNDSC / FNNDSC/ami

Wrong extension while loading with windows.URL.createObjectURL(files[0])

Open
#377 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
745
Forks
212
PR merge metrics
No merged PRs in 30d

Description

I was trying to load **Dicom/Nifti** files on **file select** from an HTML page.
I am passing file selected as blob object to **windows.URL.createObjectURL()** which gives an intermediate URL without any extension.
I pass that URL to **VolumeLoader.load()** function.
As it does not detect any extension, it always loads Dicom parser and no support for other file types.
Is there a workaround for the same?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.