publish: Add pencil and eraser tool, fix drawFromBinary

generated from commit d27eab79c0b9d789cf6ab1558fd545f2d68f7b5f