aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2008-07-19 23:56:02 +0000
committerJuri Linkov2008-07-19 23:56:02 +0000
commitfd9a8d1607d64306f7a82d5346830876425eb138 (patch)
tree9ac720eac5f0e2f19ceed92daeca2b202a84474e
parenta41925a2fedc6407f100955eb60aa75d67e04370 (diff)
downloademacs-fd9a8d1607d64306f7a82d5346830876425eb138.tar.gz
emacs-fd9a8d1607d64306f7a82d5346830876425eb138.zip
(image-dired-cmd-create-thumbnail-options)
(image-dired-cmd-create-temp-image-options) (image-dired-cmd-create-standard-thumbnail-command): Add > to the ImageMagick command line to change the dimensions of the image only if its width or height exceeds the geometry specification.
-rw-r--r--lisp/image-dired.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/image-dired.el b/lisp/image-dired.el
index d92c1f8cd3b..7b0a55de226 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -229,7 +229,7 @@ Used together with `image-dired-cmd-create-thumbnail-options'."
229 :group 'image-dired) 229 :group 'image-dired)
230 230
231(defcustom image-dired-cmd-create-thumbnail-options 231(defcustom image-dired-cmd-create-thumbnail-options
232 "%p -size %wx%h \"%f\" -resize %wx%h -strip jpeg:\"%t\"" 232 "%p -size %wx%h \"%f\" -resize \"%wx%h>\" -strip jpeg:\"%t\""
233 "Format of command used to create thumbnail image. 233 "Format of command used to create thumbnail image.
234Available options are %p which is replaced by 234Available options are %p which is replaced by
235`image-dired-cmd-create-thumbnail-program', %w which is replaced by 235`image-dired-cmd-create-thumbnail-program', %w which is replaced by
@@ -247,7 +247,7 @@ Used together with `image-dired-cmd-create-temp-image-options'."
247 :group 'image-dired) 247 :group 'image-dired)
248 248
249(defcustom image-dired-cmd-create-temp-image-options 249(defcustom image-dired-cmd-create-temp-image-options
250 "%p -size %wx%h \"%f\" -resize %wx%h -strip jpeg:\"%t\"" 250 "%p -size %wx%h \"%f\" -resize \"%wx%h>\" -strip jpeg:\"%t\""
251 "Format of command used to create temporary image for display window. 251 "Format of command used to create temporary image for display window.
252Available options are %p which is replaced by 252Available options are %p which is replaced by
253`image-dired-cmd-create-temp-image-program', %w and %h which is replaced by 253`image-dired-cmd-create-temp-image-program', %w and %h which is replaced by
@@ -280,7 +280,7 @@ with the information required by the Thumbnail Managing Standard."
280 "-set \"Thumb::URI\" \"file://%f\" " 280 "-set \"Thumb::URI\" \"file://%f\" "
281 "-set \"Description\" \"Thumbnail of file://%f\" " 281 "-set \"Description\" \"Thumbnail of file://%f\" "
282 "-set \"Software\" \"" (emacs-version) "\" ")) 282 "-set \"Software\" \"" (emacs-version) "\" "))
283 "-thumbnail %wx%h png:\"%t\"" 283 "-thumbnail \"%wx%h>\" png:\"%t\""
284 (if image-dired-cmd-pngnq-program 284 (if image-dired-cmd-pngnq-program
285 (concat 285 (concat
286 " ; " image-dired-cmd-pngnq-program " -f \"%t\"" 286 " ; " image-dired-cmd-pngnq-program " -f \"%t\""