Variable: image-crop-crop-command

image-crop-crop-command is a customizable variable defined in image-crop.el.gz.

Value

("convert" "+repage" "-crop" "%wx%h+%l+%t" "-" "%f:-")

Documentation

List of command and its command-line arguments to crop an image.

The following format-spec elements are allowed in the value:
%l: Left.
%t: Top.
%w: Width.
%h: Height.
%f: File type to produce.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-crop.el.gz
(defcustom image-crop-crop-command '("convert" "+repage" "-crop" "%wx%h+%l+%t"
                                     "-" "%f:-")
  "List of command and its command-line arguments to crop an image.

The following `format-spec' elements are allowed in the value:
%l: Left.
%t: Top.
%w: Width.
%h: Height.
%f: File type to produce."
  :type '(repeat string)
  :version "29.1")