File: chunk-delete

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

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

# Note basn0g08 includes a gAMA chunk
python -m pngsuite basn0g08 | pripnglsch | grep -q gAMA || exit 9
python -m pngsuite basn0g08 | prichunkpng --delete gAMA - |
  pripnglsch | grep -q gAMA && exit 1
exit 0