comparison doc/lispref/display.texi @ 101064:d380142646c0

(PostScript Images): Node deleted.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 10 Jan 2009 13:10:19 +0000
parents 652cf1b0fd5a
children 00eb4d86697f
comparison
equal deleted inserted replaced
101063:f36874810398 101064:d380142646c0
3947 * Image Descriptors:: How to specify an image for use in @code{:display}. 3947 * Image Descriptors:: How to specify an image for use in @code{:display}.
3948 * XBM Images:: Special features for XBM format. 3948 * XBM Images:: Special features for XBM format.
3949 * XPM Images:: Special features for XPM format. 3949 * XPM Images:: Special features for XPM format.
3950 * GIF Images:: Special features for GIF format. 3950 * GIF Images:: Special features for GIF format.
3951 * TIFF Images:: Special features for TIFF format. 3951 * TIFF Images:: Special features for TIFF format.
3952 * PostScript Images:: Special features for PostScript format.
3953 * Other Image Types:: Various other formats are supported. 3952 * Other Image Types:: Various other formats are supported.
3954 * Defining Images:: Convenient ways to define an image for later use. 3953 * Defining Images:: Convenient ways to define an image for later use.
3955 * Showing Images:: Convenient ways to display an image once it is defined. 3954 * Showing Images:: Convenient ways to display an image once it is defined.
3956 * Image Cache:: Internal mechanisms of image display. 3955 * Image Cache:: Internal mechanisms of image display.
3957 @end menu 3956 @end menu
4345 You can use @code{:index} to specify one image from a TIFF file that 4344 You can use @code{:index} to specify one image from a TIFF file that
4346 contains more than one image. This property specifies use of image 4345 contains more than one image. This property specifies use of image
4347 number @var{index} from the file. If the TIFF file doesn't contain an 4346 number @var{index} from the file. If the TIFF file doesn't contain an
4348 image with index @var{index}, the image displays as a hollow box. 4347 image with index @var{index}, the image displays as a hollow box.
4349 @end table 4348 @end table
4350
4351 @node PostScript Images
4352 @subsection PostScript Images
4353 @cindex postscript images
4354
4355 To use PostScript for an image, specify image type @code{postscript}.
4356 This works only if you have Ghostscript installed. You must always use
4357 these three properties:
4358
4359 @table @code
4360 @item :pt-width @var{width}
4361 The value, @var{width}, specifies the width of the image measured in
4362 points (1/72 inch). @var{width} must be an integer.
4363
4364 @item :pt-height @var{height}
4365 The value, @var{height}, specifies the height of the image in points
4366 (1/72 inch). @var{height} must be an integer.
4367
4368 @item :bounding-box @var{box}
4369 The value, @var{box}, must be a list or vector of four integers, which
4370 specifying the bounding box of the PostScript image, analogous to the
4371 @samp{BoundingBox} comment found in PostScript files.
4372
4373 @example
4374 %%BoundingBox: 22 171 567 738
4375 @end example
4376 @end table
4377
4378 Displaying PostScript images from Lisp data is not currently
4379 implemented, but it may be implemented by the time you read this.
4380 See the @file{etc/NEWS} file to make sure.
4381 4349
4382 @node Other Image Types 4350 @node Other Image Types
4383 @subsection Other Image Types 4351 @subsection Other Image Types
4384 @cindex PBM 4352 @cindex PBM
4385 4353