Your company here — click to reach over 10,000 unique daily visitors

pbmpscale - Man Page

enlarge a PBM image with edge smoothing

Examples (TL;DR)


pbmpscale N [pbmfile]


This program is part of Netpbm(1).

pbmpscale reads a PBM image as input, and outputs a PBM image enlarged N times.  pbmpscale does this enlargement by pixel replication, with some additional smoothing of corners and edges.


There are no command line options defined specifically for pbmpscale, but it recognizes the options common to all programs based on libnetpbm (See Common Options .)

See Also

pamenlarge(1), pamscale(1), pamstretch(1), pbm(1)


Copyright (C) 1990 by Angus Duggan Copyright (C) 1989 by Jef Poskanzer.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.  This software is provided "as is" without express or implied warranty.


pbmpscale works best for enlargements of 2. To do enlargements greater than 2, you should do as many enlargements of 2 as possible, then enlarge by the remaining factor.

Document Source

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at


Referenced By

pamenlarge(1), pamscale(1), pnmscalefixed(1).

03 October 2003 netpbm documentation