Lines Matching +full:test +full:. +full:rgb
5 # Last changed in libpng 1.6.0 [February 14, 2013]
7 # This code is released under the libpng license.
9 # and license in png.h
11 # Generate a set of PNG test images. The images are generated in a
13 # change that name. The generation requires a built version of makepng in the
14 # current directory.
19 echo ' Generate a set of PNG test files in "directory" ("tests" by default)'
24 test -x "$mp" || {
35 test $# -gt 1 && {
39 test $# -eq 0 || usage
42 if test -e "$testdir"
44 test -d "$testdir" || usage
52 :>"test$$.png" || {
57 rm "test$$.png" || {
59 echo "$testdir: you have create but not write privileges here."
60 echo " This is unexpected. You have a spurion; "'"'"test$$.png"'"'"."
61 echo " You need to remove this yourself. Try a different directory."
82 "$mp" $gamma "$1" "$2" "test-$1-$2$gname.png"
96 for ct in gray-alpha rgb rgb-alpha