Mercurial > emacs
comparison lisp/image.el @ 31635:208d8385ccae
(create-image): Doc fix.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 15 Sep 2000 11:49:07 +0000 |
parents | 5042a3b24c96 |
children | e3be69cf6c81 |
comparison
equal
deleted
inserted
replaced
31634:8dfcbd633017 | 31635:208d8385ccae |
---|---|
83 or nil, try to determine the image type from its first few bytes | 83 or nil, try to determine the image type from its first few bytes |
84 of image data. If that doesn't work, and FILE-OR-DATA is a file name, | 84 of image data. If that doesn't work, and FILE-OR-DATA is a file name, |
85 use its file extension.as image type. | 85 use its file extension.as image type. |
86 Optional DATA-P non-nil means FILE-OR-DATA is a string containing image data. | 86 Optional DATA-P non-nil means FILE-OR-DATA is a string containing image data. |
87 Optional PROPS are additional image attributes to assign to the image, | 87 Optional PROPS are additional image attributes to assign to the image, |
88 like, e.g. `:heuristic-mask t'. | 88 like, e.g. `:mask MASK'. |
89 Value is the image created, or nil if images of type TYPE are not supported." | 89 Value is the image created, or nil if images of type TYPE are not supported." |
90 (when (and (not data-p) (not (stringp file-or-data))) | 90 (when (and (not data-p) (not (stringp file-or-data))) |
91 (error "Invalid image file name `%s'" file-or-data)) | 91 (error "Invalid image file name `%s'" file-or-data)) |
92 (cond ((null data-p) | 92 (cond ((null data-p) |
93 ;; FILE-OR-DATA is a file name. | 93 ;; FILE-OR-DATA is a file name. |