Prev: jpg.html Up Next: printer.html
The bmp terminal

Practical Guide:

plot("filename")....;   // plot something
bmp::print("file.bmp","");
    // print it to a bmp file named file.bmp
    // the second argument is the options to beps2bmp

This is a terminal derived from blopeps: first a blopeps file is created, and then it is transformed to a bmp file using the beps2bmp tool of blop. The static print(filename,opts) function of the bmp terminal can be used to print the current canvas to a file specified by the first argument, the second argument specifies the options to be given to beps2bmp (see beps2bmp --help for help)

Source files:
   bmp.h
   bmp.cc

Prev: jpg.html Up Next: printer.html