Function: thumbs-call-convert

thumbs-call-convert is a byte-compiled function defined in thumbs.el.gz.

Signature

(thumbs-call-convert FILEIN FILEOUT ACTION &optional ARG OUTPUT-FORMAT ACTION-PREFIX)

Documentation

Call the convert program.

FILEIN is the input file, FILEOUT is the output file, ACTION is the command to send to convert. Optional arguments are: ARG any arguments to the ACTION command, OUTPUT-FORMAT is the file format to output (default is jpeg), ACTION-PREFIX is the symbol to place before the ACTION command
              (defaults to - but can sometimes be +).

Source Code

;; Defined in /usr/src/emacs/lisp/thumbs.el.gz
(defun thumbs-call-convert (filein fileout action
				   &optional arg output-format action-prefix)
  "Call the convert program.
FILEIN is the input file,
FILEOUT is the output file,
ACTION is the command to send to convert.
Optional arguments are:
ARG any arguments to the ACTION command,
OUTPUT-FORMAT is the file format to output (default is jpeg),
ACTION-PREFIX is the symbol to place before the ACTION command
              (defaults to `-' but can sometimes be `+')."
  (call-process thumbs-conversion-program nil nil nil
		(or action-prefix "-")
		action
		(or arg "")
		filein
		(format "%s:%s"	(or output-format "jpeg") fileout)))