From ad729def439d7ddb6dd6e36f6702fdde9342fc6e Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Fri, 21 Feb 2014 13:10:00 +0100 Subject: [PATCH] Do not use absolute path for ImageMagick tools I guess the default configuration should not use absolute path to convert and identify. People can overwrite that by using setImagemagickConvertPath/setImagemagickIdentifyPath methods. --- src/main/scala/com/gravity/goose/Configuration.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/scala/com/gravity/goose/Configuration.scala b/src/main/scala/com/gravity/goose/Configuration.scala index 20ce4653a..ef8a30a98 100644 --- a/src/main/scala/com/gravity/goose/Configuration.scala +++ b/src/main/scala/com/gravity/goose/Configuration.scala @@ -55,12 +55,12 @@ class Configuration { * path to your imagemagick convert executable, on the mac using mac ports this is the default listed */ @BeanProperty - var imagemagickConvertPath: String = "/opt/local/bin/convert" + var imagemagickConvertPath: String = "convert" /** * path to your imagemagick identify executable */ @BeanProperty - var imagemagickIdentifyPath: String = "/opt/local/bin/identify" + var imagemagickIdentifyPath: String = "identify" @BeanProperty var connectionTimeout: Int = 10000 @@ -124,4 +124,4 @@ class Configuration { def getHtmlFetcher: AbstractHtmlFetcher = htmlFetcher -} \ No newline at end of file +}