Skip to content

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
mvictoras committed Mar 6, 2015
1 parent ff05c5d commit 1e2d6c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ The _gettext_ dependency of _libvips_ [can lead](https://github.com/lovell/sharp

brew link gettext --force

### Openslide tips
If you want to enable OpenSlide support, you need to initially install the openslide libraries and then recompile vips, so that openslide support is enabled.

### Heroku

[Alessandro Tagliapietra](https://github.com/alex88) maintains an [Heroku buildpack for libvips](https://github.com/alex88/heroku-buildpack-vips) and its dependencies.
Expand All @@ -103,8 +100,6 @@ If you want to enable OpenSlide support, you need to initially install the opens
* [gulp-sharp](https://www.npmjs.com/package/gulp-sharp)
* [grunt-sharp](https://www.npmjs.com/package/grunt-sharp)



## Usage examples

```javascript
Expand Down
3 changes: 1 addition & 2 deletions preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ case $(uname -s) in
brew install homebrew/science/vips --with-webp --with-graphicsmagick
fi
elif type "port" > /dev/null; then
# XXX
echo "Installing libvips via MacPorts"
port install vips
else
Expand All @@ -265,7 +264,7 @@ case $(uname -s) in
# Debian 8, Ubuntu 15
if [ $enable_openslide -eq 1 ]; then
echo "Installing libvips via apt-get"
apt-get install -y libvips-dev
apt-get install -y libvips-dev libgsf-1-dev
else
echo "Recompiling vips with openslide support"
install_libvips_from_source
Expand Down
2 changes: 1 addition & 1 deletion src/resize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ NAN_METHOD(resize) {
baton->withoutAdaptiveFiltering = options->Get(NanNew<String>("withoutAdaptiveFiltering"))->BooleanValue();
baton->withoutChromaSubsampling = options->Get(NanNew<String>("withoutChromaSubsampling"))->BooleanValue();
baton->withMetadata = options->Get(NanNew<String>("withMetadata"))->BooleanValue();
// Output filename or __format for Buffer
// Output filename or __format for Buffer
baton->output = *String::Utf8Value(options->Get(NanNew<String>("output"))->ToString());
baton->tileSize = options->Get(NanNew<String>("tileSize"))->Int32Value();
baton->tileOverlap = options->Get(NanNew<String>("tileOverlap"))->Int32Value();
Expand Down

0 comments on commit 1e2d6c7

Please sign in to comment.