Difference between revisions of "Documentation Talk:Reference Section 5"
Jump to navigation
Jump to search
Jholsenback (talk | contribs) m (format changes/additions) |
Jholsenback (talk | contribs) m |
||
Line 28: | Line 28: | ||
transmit Palette, Amount | transmit all Amount | transmit Palette, Amount | transmit all Amount | ||
</pre> | </pre> | ||
− | + | ||
<!--<indexentry primary "gif" "tga" "iff" "ppm" "pgm" "png" "jpeg" "tiff" "sys, image_map">---> | <!--<indexentry primary "gif" "tga" "iff" "ppm" "pgm" "png" "jpeg" "tiff" "sys, image_map">---> | ||
<p>After the optional <em>BITMAP_TYPE</em> keyword is a string expression | <p>After the optional <em>BITMAP_TYPE</em> keyword is a string expression |
Revision as of 12:08, 24 July 2009
The section on image_map should reference function images...
Like this? --jholsenback 12:07, 24 July 2009 (UTC)
Specifying an Image Map
The syntax for an image_map
is:
IMAGE_MAP: pigment { image_map { [BITMAP_TYPE] "bitmap[.ext]" [IMAGE_MAP_MODS...] } [PIGMENT_MODFIERS...] } IMAGE_MAP: image_map { FUNCTION_IMAGE | [BITMAP_TYPE] "bitmap[.ext]" [IMAGE_MAP_MODS...] } FUNCTION_IMAGE: function I_WIDTH, I_HEIGHT { FUNCTION_IMAGE_BODY } FUNCTION_IMAGE_BODY: PIGMENT | FN_FLOAT | pattern { PATTERN [PATTERN_MODIFIERS] } BITMAP_TYPE: gif | tga | iff | ppm | pgm | png | jpeg | tiff | sys IMAGE_MAP_MOD: map_type Type | once | interpolate Type | filter Palette, Amount | filter all Amount | transmit Palette, Amount | transmit all Amount
After the optional BITMAP_TYPE keyword is a string expression containing the name of a bitmapped image file of the specified type. If the BITMAP_TYPE is not given, the same type is expected as the type set for output.
Note: For syntax of function images see Function Image.
Example: