UNPKG

ultimate-text-to-image

Version:

Generate UTF8 texts into image with auto line break for all international language, including Chinese, Japanese, Korean, etc..

4 lines (3 loc) 181 B
import * as canvas from "canvas"; import { IGetCanvasImageOptions } from "./types"; export declare const getCanvasImage: (options: IGetCanvasImageOptions) => Promise<canvas.Image>;