Skip to content

Commit 4ee59ce

Browse files
committed
Add notice of known issue with sharp and canvas
1 parent 088e888 commit 4ee59ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ const chart = lc.ChartXY()
135135
renderToSharp(chart, 1920, 1080).toFile('out.png')
136136
```
137137

138+
> Note: There is a known issue with using `sharp` on Windows. https://sharp.pixelplumbing.com/install#canvas-and-windows
139+
138140
### `renderToPNG`
139141

140142
- Requires `pngjs` package to be installed. [https://github.com/lukeapage/pngjs][pngjs]

0 commit comments

Comments
 (0)