summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-08-28 11:37:09 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-08-28 11:39:29 +0200
commitd665f6aeb68def39f123ef4b2f0df5e101fb4265 (patch)
treecd7b837247a5ea686a879505e46ff182193bb98b
parent9ed501cda3934e118af46af78bc737e69bb41568 (diff)
downloadfeh-d665f6aeb68def39f123ef4b2f0df5e101fb4265.zip
Do not enable imagemagick by default
-rw-r--r--ChangeLog3
-rw-r--r--man/feh.pre14
-rw-r--r--src/options.c2
3 files changed, 8 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 76f5cd9..8f758fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,9 @@ git HEAD
(consequence: lossless rotate no longer works for such files)
* --reload now accepts rational numbers
* Fix --filelist trying to load .txt files with imagemagick
+ * imagemagick support is now disabled by default, to make feh behaviour
+ less confusing. Set --magick-timeout to a non-negative value to enable
+ it (--magick-timeout 5 for feh-2.5 behaviour)
Sun, 25 Mar 2012 13:13:26 +0200 Daniel Friesel <derf@finalrewind.org>
diff --git a/man/feh.pre b/man/feh.pre
index 4d673f4..e047286 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -118,18 +118,12 @@ can open any format supported by Imlib2, most notably jpeg and png.
If the convert binary
.Pq supplied by ImageMagick
is available, it also has limited support for many other filetypes, such as
-svg, xcf and otf.
+svg, xcf and otf. Use
+.Cm --magick-timeout Ar num
+with a non-negative value to enable it.
.
For animated images, only the first frame is shown.
.
-.Pp
-.
-If you don't like the results produced by convert, disable it with
-.Qq --magick-timeout -1 .
-Also, note that
-.Nm
-will only try to convert a file for up to five seconds by default.
-.
.
.Sh OPTIONS
.
@@ -401,7 +395,7 @@ Stop trying to convert unloadable files after
seconds. A negative value disables covert / magick support altogether, a value
of zero causes
.Nm
-to try indefinitely. Default timeout is 5 seconds.
+to try indefinitely. By default, magick support is disabled.
.
.It Cm -M , --menu-font Ar font
.
diff --git a/src/options.c b/src/options.c
index 6f11d07..09ae5cc 100644
--- a/src/options.c
+++ b/src/options.c
@@ -53,7 +53,7 @@ void init_parse_options(int argc, char **argv)
opt.display = 1;
opt.aspect = 1;
opt.slideshow_delay = 0.0;
- opt.magick_timeout = 5;
+ opt.magick_timeout = -1;
opt.thumb_w = 60;
opt.thumb_h = 60;
opt.thumb_redraw = 10;