Image file.
Source image file with attached metadata.
Create canvas for rendering.
Width of canvas.
Height of canvas.
Background color of canvas.
Canvas.
Create sprite.
Sprite sources.
Width of sprite.
Height of sprite.
Offset from canvas edges.
Sprite.
Get size of icon to contain in box.
Get suitable source by size.
Array of sources.
Needed width.
Needed height.
Siutable source.
Render icon.
Array of sources.
Rendered icon.
Generated using TypeDoc
Attach image metadata to the vinyl file.