2025-03-14 21:59:59 -06:00
|
|
|
# ppmdraw
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
> Draw lines, text, and more on a PPM image by executing a script.
|
2025-03-14 21:59:59 -06:00
|
|
|
> Documentation on the utilized scripting language can be found by following the link below.
|
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/ppmdraw.html>.
|
|
|
|
|
|
|
|
|
|
- Draw on the specified PPM image by executing the supplied script:
|
|
|
|
|
|
|
|
|
|
`ppmdraw -script '{{setpos 50 50; text_here "hello!"; }}' {{path/to/image.pnm}} > {{path/to/output.pnm}}`
|
|
|
|
|
|
|
|
|
|
- Draw on the specified PPM image by executing the script in the specified file:
|
|
|
|
|
|
|
|
|
|
`ppmdraw -scriptfile {{path/to/script}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
|