Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | png: print zstream errors | bptato | 2023-07-04 | 1 | -1/+5 |
| | |||||
* | painter: fix off by one error in getCharBmp | bptato | 2023-07-04 | 1 | -2/+2 |
| | |||||
* | png: fix grayscale regression | bptato | 2023-06-29 | 1 | -1/+1 |
| | | | | it's 0x1, not 0x11. oops | ||||
* | Move CanvasFillRule from bitmap to painter | bptato | 2023-06-26 | 2 | -4/+4 |
| | |||||
* | png: fix 4 bit grayscale & <8 bit indexed color | bptato | 2023-06-25 | 1 | -6/+17 |
| | |||||
* | Get rid of the .jserr pragma | bptato | 2023-06-19 | 1 | -12/+17 |
| | |||||
* | Make Result.text, json return promise | bptato | 2023-06-13 | 1 | -1/+0 |
| | |||||
* | Fix various layout bugs, prepare for image support | bptato | 2023-06-12 | 1 | -3/+3 |
| | |||||
* | Add indexed color, other png improvements | bptato | 2023-06-09 | 1 | -22/+71 |
| | |||||
* | Refactor bitmap, add png color modes | bptato | 2023-06-06 | 3 | -591/+623 |
| | | | | | Now PNG encoding/decoding, painting, etc. are done in separate files. Plus we support all color modes except indexed color. | ||||
* | Fix stupid overflow | bptato | 2023-06-05 | 1 | -3/+3 |
| | |||||
* | Fix 16bit grayscale bug | bptato | 2023-06-05 | 1 | -1/+1 |
| | |||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 2 | -0/+1050 |
Quite incomplete canvas implementation. Crucially, the layout engine can't do much with whatever is drawn because it doesn't support images yet. I've re-introduced multipart as well, with the FormData API. For the append function I've also introduced a hack to the JS binding generator that allows requesting the JSContext pointer in nim procs. Really I should just fix the union generator thing and add support for overloading. In conclusion, for now the only thing canvas can be used for is exporting it as PNG and uploading it somewhere. Also, we now have PNG encoding and decoding too. (Now if only we had sixels as well...) |