Three steps to be followed:
- Text to canvas - https://jsfiddle.net/amaan/WxmQR/1/
- Canvas to image - https://jsfiddle.net/user2314737/28wqq1gu/
- Images to zip - https://stuk.github.io/jszip/
https://stackoverflow.com/questions/31305485/export-resized-image-in-canvas-to-new-jszip-package
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob
https://www.programonaut.com/how-to-create-a-download-for-a-zip-file-with-sveltekit-step-by-step/