Graphics
graphics : object
PostalPoint uses the Jimp library version 1.6 for creating and manipulating images and shipping labels.
Kind: global namespace
- graphics :
object- .Jimp() ⇒
Jimp - .loadFont(filename) ⇒
Promise
- .Jimp() ⇒
graphics.Jimp() ⇒ Jimp
The JavaScript Image Manipulation Program.
Kind: static method of graphics
Example
const {Jimp} = global.apis.graphics.Jimp();
graphics.loadFont(filename) ⇒ Promise
Replacement for Jimp's loadFont function, which gets very confused about our JS environment and ends up crashing everything.
Kind: static method of graphics
| Param | Type |
|---|---|
| filename | string |