As I remember, there's a way to save "Graphics" object into image (png, jpeg, any other codec). If that's correct, then just create graphics, draw test strokes there, save that into image (in ram), then base64 encode it
If that won't work, ping me, I'll send you link to GitHub later in the evening. Have just remembered where I did this
Обсуждают сегодня