File: chunk-background

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 (12 lines) | stat: -rwxr-xr-x 274 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

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

{
printf 'P7\n'
printf 'WIDTH 3\nHEIGHT 1\nDEPTH 4\nMAXVAL 255\nTUPLTYPE RGB_ALPHA\n'
printf 'ENDHDR\n'
printf '\377\0\0\377\0\377\0\170\0\0\377\36'
} |
pripamtopng - | prichunkpng --background '#ff0000' - |
pripnglsch | grep -q bKGD