Methods
abort()
Abort a conversion.
convert(buffer, origin, dataIndex)
Get data from an input buffer using a DICOM parser.
Name | Type | Description |
---|---|---|
buffer | ArrayBuffer | The input data buffer. |
origin | string | The data origin. |
dataIndex | number | The data index. |
onabort(_event)
Handle an abort event. Default does nothing.
Name | Type | Description |
---|---|---|
_event | object | The abort event. |
onerror(_event)
Handle an error event. Default does nothing.
Name | Type | Description |
---|---|---|
_event | object | The error event. |
onload(_event)
Handle a load event. Default does nothing.
Name | Type | Description |
---|---|---|
_event | object | The load event fired when a file has been loaded successfully. |
onloadend(_event)
Handle a load end event. Default does nothing.
Name | Type | Description |
---|---|---|
_event | object | The load end event fired when a file load has completed, successfully or not. |
onloaditem(_event)
Handle a load item event. Default does nothing.
Name | Type | Description |
---|---|---|
_event | object | The load item event. |
onloadstart(_event)
Handle a load start event. Default does nothing.
Name | Type | Description |
---|---|---|
_event | object | The load start event. |
onprogress(_event)
Handle a load progress event. Default does nothing.
Name | Type | Description |
---|---|---|
_event | object | The progress event. |
setOptions(opt)
Set the converter options.
Name | Type | Description |
---|---|---|
opt | object | The input options. |