Function: loadImage()
loadImage(
imageId
,options
):Promise
<IImage
>
Loads an image given an imageId and optional priority and returns a promise which will resolve to the loaded image object or fail if an error occurred. The loaded image is not stored in the cache.
Parameters
• imageId: string
A Cornerstone Image Object's imageId
• options: ImageLoaderOptions
= ...
Options to be passed to the Image Loader
Returns
Promise
<IImage
>
An Object which can be used to act after an image is loaded or loading fails