mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 21:48:13 -08:00
refactor(docs): add libvips install reference
This commit is contained in:
parent
eab0a4b3cc
commit
6a99b15525
2 changed files with 13 additions and 1 deletions
10
README.md
10
README.md
|
|
@ -63,12 +63,20 @@ go get -u github.com/h2non/bimg
|
||||||
|
|
||||||
### libvips
|
### libvips
|
||||||
|
|
||||||
|
Follow `libvips` installation instructions:
|
||||||
|
|
||||||
|
[https://libvips.github.io/libvips/install.html](https://libvips.github.io/libvips/install.html)
|
||||||
|
|
||||||
|
##### Installation script
|
||||||
|
|
||||||
|
**Note**: install script is officially deprecated, it might not work as expected. We recommend following [libvips install](https://libvips.github.io/libvips/install.html) instructions.
|
||||||
|
|
||||||
Run the following script as `sudo` (supports OSX, Debian/Ubuntu, Redhat, Fedora, Amazon Linux):
|
Run the following script as `sudo` (supports OSX, Debian/Ubuntu, Redhat, Fedora, Amazon Linux):
|
||||||
```bash
|
```bash
|
||||||
curl -s https://raw.githubusercontent.com/h2non/bimg/master/preinstall.sh | sudo bash -
|
curl -s https://raw.githubusercontent.com/h2non/bimg/master/preinstall.sh | sudo bash -
|
||||||
```
|
```
|
||||||
|
|
||||||
If you wanna take the advantage of [OpenSlide](http://openslide.org/), simply add `--with-openslide` to enable it:
|
If you want to take the advantage of [OpenSlide](http://openslide.org/), simply add `--with-openslide` to enable it:
|
||||||
```bash
|
```bash
|
||||||
curl -s https://raw.githubusercontent.com/h2non/bimg/master/preinstall.sh | sudo bash -s --with-openslide
|
curl -s https://raw.githubusercontent.com/h2non/bimg/master/preinstall.sh | sudo bash -s --with-openslide
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# NOTE: deprecated! Try libvips installation: https://libvips.github.io/libvips/install.html
|
||||||
|
#
|
||||||
|
|
||||||
vips_version_minimum=8.9.2
|
vips_version_minimum=8.9.2
|
||||||
vips_version_latest_major_minor=8.9
|
vips_version_latest_major_minor=8.9
|
||||||
vips_version_latest_patch=2
|
vips_version_latest_patch=2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue