I am using the sharp library to add text labels onto an image. The only way to add text to an image using sharp is by creating an svg and compositing it onto the source image.