>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User

bmp: supports bitmap files

Name Type Description
readbmp verb read bitmap file, returning RGB data
readbmphdr verb read header from bitmap file
viewbmp verb bitmap viewer using isipicture control
viewmat verb view matrix in isipicture control
viewrgb verb view numeric matrix of RGB data
writebmp verb write bmp file from RGB data

readbmphdr

read header from bitmap file
returns:  bitsize, rows, columns

viewbmp

bitmap viewer using isipicture control

x. = [parentid [;parentname]]
y. = filename(s)

e.g.  viewbmp 'system\examples\data\j.bmp'

viewmat

view matrix in isipicture control
                  may be non-negative numeric matrix,
                  character or boxed
                 (writes bitmap file, then views it)

y. = mat [;parentid [;parentname]] (as for viewbmp)
x. = optional hue as: 3 column matrix of R-G-B triples
                  or: vector of RGB values
     if mat is boolean, x. defaults to black/white
     otherwise x. defaults to red - purple spectrum

mat may be one of:
   boolean         (black/white)
   other numeric   (color scale from 0 upwards)
   other           (converted to numeric)

e.g. viewmat (?50 50$2);'Random Boolean'

viewrgb

view numeric matrix of RGB data
                 (writes bitmap file, then views it)
x. = [parent]
y. = matrix

writebmp

write bmp file from RGB data

Form:  data writebmp filename

picks appropriate bit size of 4 8 or 24


>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User