File: read-ppm

package info (click to toggle)
pypng 0.20220715.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 704 kB
  • sloc: python: 4,816; sh: 204; makefile: 18
file content (8 lines) | stat: -rwxr-xr-x 193 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/sh

PATH=${PWD%code*}code:$PATH

printf 'P6\n3 3 3\n\1\0\0\0\1\0\0\0\1\2\1\1\1\2\1\1\1\2\3\2\2\2\3\2\2\2\3' |
pripamtopng - |
pripnglsch - |
  grep -q 'IHDR.*00000003000000030802000000'