mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-22 20:12:47 +01:00
Merge "webp_js/README.md,cosmetics: reflow some lines" into main
This commit is contained in:
commit
87e36c485a
@ -49,11 +49,11 @@ and then navigate to http://localhost:8080 in your favorite browser.
|
|||||||
|
|
||||||
CMakeLists.txt is configured to build the WASM version when using the option
|
CMakeLists.txt is configured to build the WASM version when using the option
|
||||||
WEBP_BUILD_WEBP_JS=ON. The compilation step will assemble the files
|
WEBP_BUILD_WEBP_JS=ON. The compilation step will assemble the files
|
||||||
'webp_wasm.js' and 'webp_wasm.wasm' that you then need to copy to the
|
'webp_wasm.js' and 'webp_wasm.wasm' that you then need to copy to the webp_js/
|
||||||
webp_js/ directory.
|
directory.
|
||||||
|
|
||||||
See webp_js/index_wasm.html for a simple demo page using the WASM version of
|
See webp_js/index_wasm.html for a simple demo page using the WASM version of the
|
||||||
the library.
|
library.
|
||||||
|
|
||||||
You will need a fairly recent version of Emscripten (at least 2.0.18,
|
You will need a fairly recent version of Emscripten (at least 2.0.18,
|
||||||
latest-upstream is recommended) and of your WASM-enabled browser to run this
|
latest-upstream is recommended) and of your WASM-enabled browser to run this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user