diff options
Diffstat (limited to 'pcb')
-rw-r--r-- | pcb/in.png | bin | 0 -> 17981179 bytes | |||
-rw-r--r-- | pcb/out.png | bin | 0 -> 16617920 bytes | |||
-rwxr-xr-x | pcb/run_me | 13 |
3 files changed, 13 insertions, 0 deletions
diff --git a/pcb/in.png b/pcb/in.png Binary files differnew file mode 100644 index 0000000..11942b8 --- /dev/null +++ b/pcb/in.png diff --git a/pcb/out.png b/pcb/out.png Binary files differnew file mode 100644 index 0000000..05ae995 --- /dev/null +++ b/pcb/out.png diff --git a/pcb/run_me b/pcb/run_me new file mode 100755 index 0000000..ec9b497 --- /dev/null +++ b/pcb/run_me @@ -0,0 +1,13 @@ +#!/bin/sh +#pngtopnm in.png > a.ppm +#ppmtorgb3 a.ppm + +S=24 + +pbmmake -black $S $S > s + +pnmcat -tb s s a.red > b.red +pnmcat -tb s a.grn s > b.grn +pnmcat -tb a.blu s s > b.blu + +rgb3toppm b.red b.grn b.blu | pnmtopng > out.png |