mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
feat: add webp support (#1384)
This commit is contained in:
1 parent
99c1de379b
commit
87ecb95cbc
17 files changed
+1319
-597
No files matched your search
@@ -16,6 +16,18 @@ git submodule init
|
||||
git submodule update
|
||||
```
|
||||
|
||||
## WebP Support in Examples
|
||||
|
||||
The example applications (`examples/cli` and `examples/server`) use `libwebp` to support WebP image I/O. This is enabled by default.
|
||||
|
||||
If you do not want WebP support, you can disable it at configure time:
|
||||
|
||||
```shell
|
||||
mkdir build && cd build
|
||||
cmake .. -DSD_WEBP=OFF
|
||||
cmake --build . --config Release
|
||||
```
|
||||
|
||||
## Build (CPU only)
|
||||
|
||||
If you don't have a GPU or CUDA installed, you can build a CPU-only version.
|
||||
|
||||
Reference in new issue
Block a user