Peter Kovář

Results 83 comments of Peter Kovář

With the debug build of JPEG XL library latest modification revealed error in the writer. m_filename = imageinout_test-jpegxl.jxl m_basic_info 64×64×4 lib/jxl/encode.cc:1264: Invalid number of color channels JxlOutput::write_scanlines(ybegin = 0, yend...

Also, for better performance LTO use would be nice to have.

`meson setup --cross-file wasm32.text WebAssembly` `ninja -C WebAssembly` ninja: Entering directory `WebAssembly' [1/1] Linking target exiv2 FAILED: exiv2 em++ -o exiv2 exiv2.p/app_actions.cpp.o exiv2.p/app_app_utils.cpp.o exiv2.p/app_exiv2.cpp.o exiv2.p/app_getopt.cpp.o -sERROR_ON_UNDEFINED_SYMBOLS=1 -Wl,--start-group libexiv2.a -Wl,--end-group wasm-ld:...

`em++ -o exiv2.js exiv2.p/app_actions.cpp.o exiv2.p/app_app_utils.cpp.o exiv2.p/app_exiv2.cpp.o exiv2.p/app_getopt.cpp.o libexiv2.a.p/*.o libexiv2int.a.p/*.o -sERROR_ON_UNDEFINED_SYMBOLS=1` peter.kovar@Pascal /2TB/usr/src/github.com/1div0/exiv2/WebAssembly € file exiv2.js exiv2.wasm exiv2.js: ASCII text, with very long lines (357) exiv2.wasm: WebAssembly (wasm) binary module version...

![Snímka obrazovky z 2023-03-26 08-31-22](https://user-images.githubusercontent.com/3098510/227759511-09e721cc-0366-4d54-8f59-1afef131d84c.png)

This was output to the developer console in Brave. Just a confirmation that Exiv2 library is executing via WebAssembly.

Well, my intent was to make sure that WebAssembly can be built and viable option. Maybe even for 1.0. Thoughts?

meson setup --cross-file wasm32.text -Ddefault_library=static WebAssembly ninja -C WebAssembly

Something weird. Checking.