about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-06-06 04:13:17 +0200
committerbptato <nincsnevem662@gmail.com>2023-06-06 04:14:58 +0200
commitf94439ca8d5025252e9207cf831ec1e5d0e9a674 (patch)
treeb12f5a6be6cf8b575901a964d2300d532ef61e31 /src/html
parentd8b3680268a4390891e74f0b7b58d8cddabcd0b0 (diff)
downloadchawan-f94439ca8d5025252e9207cf831ec1e5d0e9a674.tar.gz
Refactor bitmap, add png color modes
Now PNG encoding/decoding, painting, etc. are done in separate files.
Plus we support all color modes except indexed color.
Diffstat (limited to 'src/html')
-rw-r--r--src/html/dom.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 28a77aa7..78184540 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -14,6 +14,8 @@ import data/charset
 import encoding/decoderstream
 import html/tags
 import img/bitmap
+import img/painter
+import img/png
 import img/path
 import io/loader
 import io/request