Bases

Top  Previous  Next

To adapt this driver of own purposes the implementing of two functions must be changed and a structure be renamed.

 

PPMplotRasterElement

Here lies the real implementing of the file format. To realise a new file format the part is exchanged which reads in the data and puts away in a 2-dimensional Array as RGB values.

PPMdeleteRasterElement

 

This function is called if the grid element should be extinguished. If the driver has put on dynamic structures now these can be removed from the memory.

 

procsPPM

This structure is announced by the initialization of the driver. While changing the functional names and the name of the file format must be adapted.