7.6

Table Of Contents
Boolean value specifying whether part of the bitmap is transparent. When set to true, the bitmap image is combined with the
background; otherwise it is pasted on top.
duotone
Colour array specifying the colour to paint all non-white pixels in the bitmap.
Code Sample Examples
Example 1
This example displays the bitmap image street_photo at a resolution of 72 pixels per inch, and a width of 1 inch, as a trans-
parent bitmap image with non-white pixels set to blue.
showbitmap('street_photo',72,1,0,true,[100,100,0,0])
Example 2
This example displays the bitmap image sunset at a resolution of 300 pixels per inch.
showbitmap('sunset',300,0,0)
Example 3
This example prints either an image, or, if the image cannot be found, the pathname to the image.
define( &image_paths, directory, 'c:\\images\\*.JPG' )
define( &i, integer, 1 )
if( resourcetype( &image_paths[&i] ) <> 0 )
showbitmap( &image_paths[&i], 300, 0, 0)
crlf( bitmapheight( &image_paths[&i] ) )
elseif()
show( &image_paths[&i] )
crlf( 0.16 )
endif()
©2010 Objectif Lune Inc - 610 -