initImage

abstract fun initImage(image: PolyImage)

Function that can be called to explicitly initialize an image. This is used mainly for getting the size of an image, or to ensure an SVG has been rasterized.