diff options
author | bptato <nincsnevem662@gmail.com> | 2024-07-01 19:55:19 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-07-20 14:09:16 +0200 |
commit | 2a9b57b6b6a68af453e75384300887bacc3f6add (patch) | |
tree | 7c3246199f450856ffcbf8a7355ebb01dad78fde /Makefile | |
parent | 38cc49aa7f8a9d616cb57ce025a2add3e855f5c9 (diff) | |
download | chawan-2a9b57b6b6a68af453e75384300887bacc3f6add.tar.gz |
img: add webp decoder (jebp)
It works fine AFAICT, just missing VP8 deblocking filters, so lossy WebP images don't look great. I have extended the API a bit to allow reading from stdin, not just paths. Otherwise, it's the same as matanui159/jebp. TODO: add loop filters
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 4e4ea984..ef6e983d 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ all: $(OUTDIR_BIN)/cha $(OUTDIR_BIN)/mancha $(OUTDIR_CGI_BIN)/http \ $(OUTDIR_CGI_BIN)/cha-finger $(OUTDIR_CGI_BIN)/about \ $(OUTDIR_CGI_BIN)/data $(OUTDIR_CGI_BIN)/file $(OUTDIR_CGI_BIN)/ftp \ $(OUTDIR_CGI_BIN)/man $(OUTDIR_CGI_BIN)/spartan \ - $(OUTDIR_CGI_BIN)/stbi \ + $(OUTDIR_CGI_BIN)/stbi $(OUTDIR_CGI_BIN)/jebp \ $(OUTDIR_LIBEXEC)/urldec $(OUTDIR_LIBEXEC)/urlenc \ $(OUTDIR_LIBEXEC)/md2html $(OUTDIR_LIBEXEC)/ansi2html @@ -109,6 +109,8 @@ $(OUTDIR_CGI_BIN)/gopher: adapter/protocol/curlwrap.nim adapter/protocol/curlerr src/loader/connecterror.nim $(twtstr) $(OUTDIR_CGI_BIN)/stbi: adapter/img/stbi.nim adapter/img/stb_image.c \ adapter/img/stb_image.h src/utils/sandbox.nim +$(OUTDIR_CGI_BIN)/jebp: adapter/img/jebp.c adapter/img/jebp.h \ + src/utils/sandbox.nim $(OUTDIR_LIBEXEC)/urldec: $(twtstr) $(OUTDIR_LIBEXEC)/urlenc: $(twtstr) $(OUTDIR_LIBEXEC)/gopher2html: adapter/gophertypes.nim $(twtstr) @@ -162,7 +164,8 @@ manpages = $(manpages1) $(manpages5) .PHONY: manpage manpage: $(manpages:%=doc/%) -protocols = http about data file ftp gopher gmifetch cha-finger man spartan stbi +protocols = http about data file ftp gopher gmifetch cha-finger man spartan \ + stbi jebp converters = gopher2html md2html ansi2html gmi2html tools = urldec urlenc |