EmbarkStudios/texture-synthesis

Make cdylib

Jake-Shadle opened this issue · 1 comments

One of the current users of texture-synthesis is in Blender addons, but these are interacting with the CLI rather than with a library, and makes the CLI a de facto standard interface which is not its intention. We should add a C wrapper into the library to allow the use of texture-synthesis as a C shared library which can have a smaller, simpler, API surface that can be more stable and easier to interact with for cases such as the above.

repi commented

Bonus points if the C interface is also WASM compatible so the core service can be compiled into a WASM module. although would likely be quite unusable due to no threading