pnmcat
concatenate portable anymaps
see also :
pamdice - pnmtile - pamcut
Synopsis
pnmcat
[-white|-black] -leftright|-lr
[-jtop|-jbottom] pnmfile pnmfile ...
pnmcat [-white|-black]
-topbottom|-tb [-jleft|-jright]
pnmfile pnmfile ...
add an example, a script, a trick and tips
examples
source
done
pnmcat -tb ${WORK} > ${WORKSPACE}row-${ROW}.pnm
done
WORK= " "
for ROW in $(seq 0
${HEIGHT});
do
done
pnmcat -lr ${WORKSPACE}${WORK} > out.pnm
rm ${WORKSPACE}/*.pnm
rmdir ${WORKSPACE}
source
pbmtext "$i" | pnmcat
$back -tb $tmpfile - > $imagefile
else
pbmtext "$i" | pnminvert |
pnmcat $back -tb $tmpfile - > $imagefile
pnmcat $back -lr -jbottom
${imagefiles[*]} > $rowfile
else
pnmcat $back -lr -jbottom
${imagefiles[*]} | \
source
pnmscale 4 < frame_small.ppm > frame_big.ppm
pnmcat -tb frame_small.ppm label_small.ppm >
frame_labeled_small.ppm
pnmcat -tb frame_big.ppm label_big.ppm >
frame_labeled_big.ppm
source
pnmcat -lr all.pnm vmax.pnm > l
pnmcat -lr vint.pnm vmin.pnm > r
pnmcat -lr l r | pnmtopng > ${group}-$f.png
done
pnmcat -tb g1-fluidized.pnm g2-undeformed.pnm > t1
|| die $LINENO
pnmcat -tb g3-sheared.pnm g4-little-def.pnm > t2
|| die $LINENO
description
Reads portable
anymaps as input. Concatenates them either left to right or
top to bottom, and produces a portable anymap as output.
pamdice
splits an image up into smaller ones.
pnmtile
concatenates a single input image to itself repeatedly.
options
If the anymaps
are not all the same height (left-right) or width
(top-bottom), the smaller ones have to be justified with the
largest. By default, they get centered, but you can specify
one side or the other with one of the -j* flags. So,
-topbottom -jleft would stack the anymaps on top of
each other, flush with the left edge.
The
-white and -black flags specify what color to
use to fill in the extra space when doing this
justification. If neither is specified, the program makes a
guess.
All flags can
be abbreviated to their shortest unique prefix.
see also
pamdice ,
pnmtile , pamcut , pnm
author
Copyright (C)
1989 by Jef Poskanzer.