Copyright (C) 2000-2012 |
Manpages pnminterpSection: User Commands (1)Updated: 10 April 2000 Index Return to Main Contents NAMEpnminterp - scale up portable anymap by interpolating between pixels.SYNOPSISpnminterp [-blackedge] [-dropedge] N [pnmfile]You can use the minimum unique abbreviation of the options. DESCRIPTIONPnminterp scales up pictures, producing output with one NxN pixel for each pixel in the original image. Where pnminterp improves over using pnmscale/pnmenlarge for this is that it interpolates between pixels, producing better-looking output.To scale up to non-integer pixel sizes, e.g. 2.5, try pnminterp-gen(1) instead. OPTIONSThe options let you select alternative methods of dealing with the right/bottom edges of the picture. Since the interpolation is done between the top-left corners of the scaled-up pixels, it's not obvious what to do with the right/bottom edges. The default behaviour is to scale those up without interpolation (more precisely, the right edge is only interpolated vertically, and the bottom edge is only interpolated horizontally), but there are two other possibilities, listed below.
BUGSUsually produces fairly ugly output for PBMs. For most PBM input you'll probably want to reduce the `noise' first using something like pnmnlfilt(1).Always produces images with a maxval of 255, which may lose sample resolution if the input is (say) a 16-bit PGM. SEE ALSOpnmenlarge(1), pnmscale(1), pnmnlfilt(1)AUTHORRussell Marks (russell.marks@ntlworld.com).
IndexThis document was created by man2html, using the manual pages. Time: 11:09:11 GMT, April 19, 2024 |