diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-27 21:50:31 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-28 21:26:33 +0200 |
commit | 8268ba2cf049be1865875e3e01305a500fa533e2 (patch) | |
tree | 7ce60624f9212e65dad0c1a2d168eb6ab7c03ec9 /res/license.md | |
parent | f9734e2b3900781901bb5f268137bd9adbfc33ef (diff) | |
download | chawan-8268ba2cf049be1865875e3e01305a500fa533e2.tar.gz |
img, loader: add image resizing, misc fixes
* resize images with stb_image_resize * use tee for output handle redirection (redirectToFile blocks) * cache original image files * accept lseek in sandbox * misc stbi fixes For now, I just pulled in stb_image_resize v1. v2 is an extra 150K in size, not sure if it's worth the cost. (Either way, we can always switch later if needed, since the API is almost the same.) Next step: move sixel/kitty encoders to CGI, and cache their output in memory instead of the intermediate RGBA representation.
Diffstat (limited to 'res/license.md')
-rw-r--r-- | res/license.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/res/license.md b/res/license.md index 9f47118d..55c0d25c 100644 --- a/res/license.md +++ b/res/license.md @@ -115,6 +115,7 @@ SOFTWARE. ## STB image -The stb_image and stb_image_write libraries by Sean T. Barrett et al. are used -for image transcoding. These libraries is dedicated to the public domain, and -are distributed under the same terms as Chawan. +The stb_image, stb_image_write and stb_image_resize libraries by +Sean Barrett et al. are used for image transcoding. These libraries +are dedicated to the public domain, and are distributed under the same +terms as Chawan. |