1BBOX(1) BBOX(1)
2
3
4
6 bbox - prints out the bounding box of a rawppm or rawpbm image
7
9 bbox [ -l ] [ -r ] [ -h ] [ -V ] [ rawpbmfile ]
10
11
13 bbox reads a rawppm or rawpbm file and prints out the bounding box of
14 the image (as postscript comment and in postscript points, i.e.
15 1/72dpi) as well as the high resolution bounding box. Input is read
16 from standard input if no filename is specified. Example output:
17
18 %%BoundingBox: 12 253 829 837
19 %%HiResBoundingBox: 12.500000 253.000000 828.500000 837.00000
20
21
22 bbox has only very limited memory requirements as it reads the input
23 line by line and thus needs to store only one picture line in memory.
24
26 -h | --help
27 Show summary of options.
28
29 -V Show version of program.
30
31 -r resolution of picture in dpi
32
33 -l loose bounding box (integer bounding box is expanded by 1 point,
34 hires bounding box is expanded by 0.5 points)
35
37 ps2eps (1)
38
40 bbox was written by Roland Bless.
41
42 ACKNOWLEDGMENTS
43 Special thanks goes to Michael Sharpe from UCSD who suggested a lot of
44 improvements for bbox to become more precise and robust, especially for
45 small drawings.
46
47 An earlier version of this manual page was originally written by Rafael
48 Laboissiere <rafael@debian.org> for the Debian system. Thank you
49 Rafael! Permission is granted to copy, distribute and/or modify this
50 document under the terms of the GNU Free Documentation License, Version
51 1.1 or any later version published by the Free Software Foundation;
52 with no Invariant Sections, no Front-Cover Texts and no Back-Cover
53 Texts.
54
56 Though the code is quite small and the probability for bugs is now
57 small, there may be some left somewhere between the lines. In case you
58 find one, please send a short description with bbox version number to
59 <roland@bless.de> (please allow some time to reply).
60
61
62
63 31 August 2010 BBOX(1)