libvips and its dependencies are provided as pre-compiled shared libraries for the most common operating systems and CPU architectures.
These are packaged and published to the npm registry under the @img organisation.
Most people will not need to do this; proceed with caution.
Run the top-level build script without parameters for help.
One build script is used to (cross-)compile the same shared libraries within multiple containers.
The Windows build script runs on Linux and uses the build-win64-mxe repo to cross-compile the "web" group of dependencies into static binaries.
Uses a macOS virtual machine hosted by GitHub to compile the shared libraries. The dylib files are compiled within the same build script as Linux.
- x64
- ARM64
Dependency paths are modified to use the relative @rpath with install_name_tool.
The scripts from wasm-vips are used to compile libvips and its dependencies as static Wasm libraries ready for further compilation into a single, statically-linked sharp shared library.
These scripts are licensed under the terms of the Apache 2.0 Licence.
The shared libraries contained in the tarballs are distributed under the terms of various licences, all of which are compatible with the Apache 2.0 Licence.