blob: d230424b7d04b6fddabd31e503ac0301df092001 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#! /bin/bash
# This script tests: pamedge
# Also requires: pbmpscale pbmtext pgmtopbm pgmtopgm ppmtopgm
alias pamedge="${PBM_TESTPREFIX}pamedge"
alias pbmpscale="${PBM_BINPREFIX}pbmpscale"
alias pbmtext="${PBM_BINPREFIX}pbmtext"
alias pgmtopbm="${PBM_BINPREFIX}pgmtopbm"
alias pgmtopgm="${PBM_BINPREFIX}pgmtopgm"
alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm"
shopt -s expand_aliases
pbmtext " F " -nom | pbmpscale 5 | \
pgmtopgm | pamedge | \
ppmtopgm | pgmtopbm -th -val=.5 -plain
|