Skip to content

Commit eadb04b

Browse files
committed
Note that canvas.tobwstring may mutate the image
1 parent d5147f6 commit eadb04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Runtime Environment/Canvas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ print("data:image/png;base64,"..base64.encode(c:topng()))
109109

110110
---
111111
### `canvas.tobwstring`
112-
Convert a canvas to a black and white unicode string.
112+
Convert a canvas to a black and white unicode string. This requires the height of the canvas to be an even number; if it is not, a black line will be added to the bottom of the canvas.
113113
#### Parameters
114114
1. The canvas instance.
115115
2. The color to be "white." Any other color will be "black."

0 commit comments

Comments
 (0)