#!/bin/sh

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

# Test from pricolpng can process inputs with tRNS chunk
# (indirectly a test of asDirect())
priforgepng -d 2 glr rbr gtb -s 8 | priweavepng - - - |
  prichunkpng --transparent '#FFFFFF' - |
  pricolpng - |
  pripnglsch | grep IHDR |
  grep -i -q 00000008000000080806000000
