lovell / sharp

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
https://sharp.pixelplumbing.com
Apache License 2.0
29.01k stars 1.29k forks source link

Sharp installation loading libvips from github #3287

Closed rohan-apple closed 2 years ago

rohan-apple commented 2 years ago

Hi, We are installing sharp from our internal server which tries to connect to "https://github.com/lovell/sharp-libvips/releases/download/v8.12.2/libvips-8.12.2-linux-x64.tar.br" to download and install libvips.

Is there any way to use a local path for libvips.tar.br instead? Or some way to not download the tar over the internet?

Thanks

lovell commented 2 years ago

Please see https://sharp.pixelplumbing.com/install#custom-prebuilt-binaries

lovell commented 2 years ago

I hope this information helped. Please feel free to re-open with more details if further assistance is required.

innocentkiller22 commented 10 months ago

after running npm install on termux i found below error

sharp: Installation error: Prebuilt libvips 8.12.2 binaries are not yet available for android-arm64v8

please help

lovell commented 10 months ago

@innocentkiller22 For Termux, please see https://github.com/lovell/sharp/issues/1889#issuecomment-535840238 and ensure you're using the latest version of sharp (it looks like you're using v0.30.x but the latest is v0.32.6).