36 lines
685 B
Markdown
36 lines
685 B
Markdown
# General purpose modules
|
|
|
|
|
|
## Modules disponibles
|
|
|
|
|
|
### spitpgm
|
|
|
|
Write gray level 2d buffer (aka picture) to disk in the NetPNM format.
|
|
|
|
### pixrgb
|
|
|
|
Write 8 bits or 16 bits RGB pictures to PNM format.
|
|
The width of the picture MUST be a multiple of 4 !
|
|
|
|
### trials
|
|
|
|
Experimental WIPs from hell.
|
|
|
|
### dummy
|
|
|
|
A "do nothing" useless module.
|
|
But you cas use it to fool an optimizing compiler,
|
|
or have a sane place to put a breakpoint with gdb
|
|
|
|
## Compiler un module
|
|
|
|
You can use the same options as for a main program.
|
|
And when you use the module, you have to specify the paths
|
|
for the .mod and the .o to the linker.
|
|
See [Makefile](./Makefile) for an example.
|
|
|
|
## TODO
|
|
|
|
- écrire la doc !
|