libvips and its dependencies are provided as pre-compiled shared libraries for the most common operating systems and CPU architectures.
During npm install
, these binaries are fetched as tarballs from
this repository via HTTPS and stored locally within node_modules/sharp/vendor
.
The base URL can be overridden using the SHARP_DIST_BASE_URL
environment variable.
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 output of libvips' build-win64 "web" target is post-processed within a container.
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 the following licences, all of which are compatible with the Apache 2.0 Licence.
Use of libraries under the terms of the LGPLv3 is via the "any later version" clause of the LGPLv2 or LGPLv2.1.
Library | Used under the terms of |
---|---|
cairo | Mozilla Public License 2.0 |
expat | MIT Licence |
fontconfig | fontconfig Licence (BSD-like) |
freetype | freetype Licence (BSD-like) |
fribidi | LGPLv3 |
gettext | LGPLv3 |
giflib | MIT Licence |
glib | LGPLv3 |
harfbuzz | MIT Licence |
lcms | MIT Licence |
libcroco | LGPLv3 |
libexif | LGPLv3 |
libffi | MIT Licence |
libgsf | LGPLv3 |
libjpeg-turbo | zlib License, IJG License |
libpng | libpng License |
librsvg | LGPLv3 |
libtiff | libtiff License (BSD-like) |
libvips | LGPLv3 |
libwebp | New BSD License |
libxml2 | MIT Licence |
pango | LGPLv3 |
pixman | MIT Licence |
zlib | zlib Licence |