diff --git a/README.md b/README.md index e90a0692..2cc88361 100755 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The typical use case for this high speed Node.js module is to convert large images of many formats to smaller, web-friendly JPEG, PNG and WebP images of varying dimensions. This module supports reading and writing JPEG, PNG and WebP images to and from Streams, Buffer objects and the filesystem. -It also supports reading images of many other types from the filesystem via libmagick++ or libgraphicsmagick++ if present. +It also supports reading images of many other types from the filesystem via libmagick or libgraphicsmagick if present. Colour spaces, embedded ICC profiles and alpha transparency channels are all handled correctly. Only small regions of uncompressed image data are held in memory and processed at a time, taking full advantage of multiple CPU cores and L1/L2/L3 cache. Resizing an image is typically 4x faster than using the quickest ImageMagick and GraphicsMagick settings. @@ -546,7 +546,7 @@ brew install graphicsmagick ``` ``` -sudo apt-get install -qq imagemagick graphicsmagick libmagick++-dev +sudo apt-get install -qq imagemagick graphicsmagick libmagickcore-dev ``` ``` diff --git a/preinstall.sh b/preinstall.sh index 2569fa85..b02c48af 100755 --- a/preinstall.sh +++ b/preinstall.sh @@ -95,7 +95,7 @@ case $(uname -s) in trusty|utopic|qiana|rebecca) # Ubuntu 14, Mint 17 echo "Installing libvips dependencies via apt-get" - apt-get install -y automake build-essential gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev libexif-dev liblcms2-dev libxml2-dev swig libmagickwand-dev curl + apt-get install -y automake build-essential gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev libexif-dev liblcms2-dev libxml2-dev swig libmagickcore-dev curl install_libvips_from_source ;; precise|wheezy|maya) @@ -103,7 +103,7 @@ case $(uname -s) in echo "Installing libvips dependencies via apt-get" add-apt-repository -y ppa:lyrasis/precise-backports apt-get update - apt-get install -y automake build-essential gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff4-dev libexif-dev liblcms2-dev libxml2-dev swig libmagickwand-dev curl + apt-get install -y automake build-essential gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff4-dev libexif-dev liblcms2-dev libxml2-dev swig libmagickcore-dev curl install_libvips_from_source ;; *)