An internal utility script to generate thumbnail using node canvas.
876
An internal utility script to generate thumbnail using node canvas. View source on Github
| Key | Description |
|---|---|
| IMAGEPATH | Content Cell |
| MODEL | Filename |
| BACKGROUND | Background Colour hex |
| PAGETEXT | |
| COMPONENTTEXT | |
| SUBCOMPONENTTEXT |
docker run --rm \
-e IMAGEPATH="/screenshots" \
-e MODEL="/page" \
-e BACKGROUND="#716DF2" \
-e PAGETEXT="PAGETEXT" \
-e COMPONENTTEXT="COMPONENTTEXT" \
-e SUBCOMPONENTTEXT="SUBCOMPONENTTEXT" \
-v ~/Desktop/screenshots:/screenshots \
realpolyglot/node-canvas-docker

Content type
Image
Digest
sha256:c8b387ca6…
Size
288.9 MB
Last updated
over 3 years ago
docker pull realpolyglot/node-canvas-docker