File: pripalpng-229

package info (click to toggle)
pypng 0.0.20%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 992 kB
  • sloc: python: 4,506; sh: 186; makefile: 12
file content (11 lines) | stat: -rwxr-xr-x 251 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

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

# Encode a file using a palette taken from stdin

cat $Code/../asset/g229.png |
  pripalpng --palette - $Code/../asset/basn0g08.png |
  pripnglsch - | grep IHDR |
  grep -q 00000020000000200803000000