aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-06-26 13:14:52 +0000
committerGerd Moellmann <[email protected]>2000-06-26 13:14:52 +0000
commit2c69ced298f9967149a40bdeabb001f31e2ff592 (patch)
treec4a09638ecf8565b5210a5ed3fa2ee971e2fa450 /etc
parent42677916be338854ccbc08b16184e808786d2eb2 (diff)
*** empty log message ***
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 3fc91305cf..b39183acce 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1969,6 +1969,20 @@ strings that have been consed so far.
* Lisp-level Display features added after release 2.6 of the Emacs
Lisp Manual
+
+** The function `image-size' can be used to determine the size of an
+image.
+
+- Function: image-size SPEC &optional PIXELS FRAME
+
+Return the size of an image as a pair (WIDTH . HEIGHT).
+
+SPEC is an image specification. PIXELS non-nil means return sizes
+measured in pixels, otherwise return sizes measured in canonical
+character units (fractions of the width/height of the frame's default
+font). FRAME is the frame on which the image will be displayed.
+FRAME nil or omitted means use the selected frame.
+
** The function `find-image' can be used to find a usable image
satisfying one of a list of specifications.