From cc627a48a68fc2050dad16679478bdf976f9c0cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Aparicio?= Date: Wed, 3 Jun 2015 17:14:15 +0100 Subject: [PATCH] feat(docs): add openslide how to install. Related with #40 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 02fc960..c70df2e 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,15 @@ Run the following script as `sudo` (supports OSX, Debian/Ubuntu, Redhat, Fedora, curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash - ``` +If you wanne take the advantage of [OpenSlide](http://openslide.org/), simply add `--with-openslide` to enable it: +```bash +curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -s --with-openslide +``` + The [install script](https://github.com/lovell/sharp/blob/master/preinstall.sh) requires `curl` and `pkg-config` +For platform specific installations, see [Mac OS](https://github.com/lovell/sharp/blob/master/README.md#mac-os-tips) tips or [Windows](https://github.com/lovell/sharp/blob/master/README.md#windows) tips + ## Supported image operations - Resize