comparison lisp/w3/images.el @ 22:8fc7fe29b841 r19-15b94

Import from CVS: tag r19-15b94
author cvs
date Mon, 13 Aug 2007 08:50:29 +0200
parents 859a2309aef8
children ec9a17fef872
comparison
equal deleted inserted replaced
21:b88636d63495 22:8fc7fe29b841
1 ;;; images.el --- Automatic image converters 1 ;;; images.el --- Automatic image converters
2 ;; Author: wmperry 2 ;; Author: wmperry
3 ;; Created: 1997/02/06 15:26:06 3 ;; Created: 1997/02/13 15:01:57
4 ;; Version: 1.7 4 ;; Version: 1.8
5 ;; Keywords: images 5 ;; Keywords: images
6 6
7 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 7 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8 ;;; Copyright (c) 1995 - 1996 by William M. Perry (wmperry@cs.indiana.edu) 8 ;;; Copyright (c) 1995 - 1996 by William M. Perry (wmperry@cs.indiana.edu)
9 ;;; Copyright (c) 1996, 1997 Free Software Foundation Inc. 9 ;;; Copyright (c) 1996, 1997 Free Software Foundation Inc.
165 (vector format ':data data))) 165 (vector format ':data data)))
166 166
167 (defun image-register-netpbm-utilities () 167 (defun image-register-netpbm-utilities ()
168 "Register all the netpbm utility packages converters." 168 "Register all the netpbm utility packages converters."
169 (interactive) 169 (interactive)
170 (if (image-converter-registered-p 'xpm 'gif) 170 (if (image-converter-registered-p 'pgm 'pbm)
171 nil 171 nil
172 (image-register-converter 'pgm 'pbm "pgmtopbm") 172 (image-register-converter 'pgm 'pbm "pgmtopbm")
173 (image-register-converter 'ppm 'pgm "ppmtopgm") 173 (image-register-converter 'ppm 'pgm "ppmtopgm")
174 (image-register-converter 'pnm 'xpm "(ppmquant 256 | ppmtoxpm)") 174 (image-register-converter 'pnm 'xpm "(ppmquant 256 | ppmtoxpm)")
175 (image-register-converter 'ppm 'xpm "(ppmquant 256 | ppmtoxpm)") 175 (image-register-converter 'ppm 'xpm "(ppmquant 256 | ppmtoxpm)")