On Tue, Jan 02, 2007 at 02:28:10PM +0100, Giuseppe Sacco wrote: > > 0 string Px ps ppmtopgm < %i |\ > > pnmscale -xysize 1728 2385 < %i |\ > > pnmtops -dpi 204 > %o
that's my original ... > Please note that all your PPM conversions use "pnmscale <%i" . This is > an error since they should get its input from ppmtopgm. no - indeed, I removed ppmtopgm after dbl-checking 'man pnmscale': pnmscale(1) ... DESCRIPTION Reads a PBM, PGM, or PPM image as input, scales it by the specified factor or factors and produces a PGM or PPM image as output. If the input file is in color (PPM), the output will be too, otherwise it will be grayscale (PGM). This is true even if the input is a black and white bitmap (PBM), because the process of scaling can turn a combina? tion of black and white pixels into a gray pixel. hence the preconversion is not needed at all. -- paolo