Chevron Down
Table of Contents
Chevron DownAPI Reference



loadImage(url : String [, options : Object]) : Image / HTMLImageElement

browser only

This is a minimal basic image loading function that only works in the browser main threaqd. For image loading and writing that works across both browser and node, refer to the module.

options.crossOrigin - Provides control of the requests cross origin field.


  • Any path prefix set by setPathPrefix will be appended to relative urls.