mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(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.
This commit is contained in:
parent
a41925a2fe
commit
fd9a8d1607
1 changed files with 3 additions and 3 deletions
|
|
@ -229,7 +229,7 @@ Used together with `image-dired-cmd-create-thumbnail-options'."
|
|||
:group 'image-dired)
|
||||
|
||||
(defcustom image-dired-cmd-create-thumbnail-options
|
||||
"%p -size %wx%h \"%f\" -resize %wx%h -strip jpeg:\"%t\""
|
||||
"%p -size %wx%h \"%f\" -resize \"%wx%h>\" -strip jpeg:\"%t\""
|
||||
"Format of command used to create thumbnail image.
|
||||
Available options are %p which is replaced by
|
||||
`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'."
|
|||
:group 'image-dired)
|
||||
|
||||
(defcustom image-dired-cmd-create-temp-image-options
|
||||
"%p -size %wx%h \"%f\" -resize %wx%h -strip jpeg:\"%t\""
|
||||
"%p -size %wx%h \"%f\" -resize \"%wx%h>\" -strip jpeg:\"%t\""
|
||||
"Format of command used to create temporary image for display window.
|
||||
Available options are %p which is replaced by
|
||||
`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."
|
|||
"-set \"Thumb::URI\" \"file://%f\" "
|
||||
"-set \"Description\" \"Thumbnail of file://%f\" "
|
||||
"-set \"Software\" \"" (emacs-version) "\" "))
|
||||
"-thumbnail %wx%h png:\"%t\""
|
||||
"-thumbnail \"%wx%h>\" png:\"%t\""
|
||||
(if image-dired-cmd-pngnq-program
|
||||
(concat
|
||||
" ; " image-dired-cmd-pngnq-program " -f \"%t\""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue