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
npm_config_sharp_libvips_binary_host
environment variable.
https://sharp.pixelplumbing.com/install#custom-prebuilt-binaries
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-mxe "web" target is post-processed within multiple containers.
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.
Depedency paths are modified to be the relative @rpath
using install_name_tool
.
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。