Debian Codegraph @

texmf-dist/doc/man/man1/bbox.1

raw
1 .\" This manpage has been automatically generated by docbook2man
2 .\" from a DocBook document. This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4 .\" Please send any bug reports, improvements, comments, patches,
5 .\" etc. to Steve Cheng <[email protected]>.
6 .TH "BBOX" "1" "January 22, 2004" "" ""
7
8 .SH NAME
9 bbox \- prints out the bounding box of a rawppm or rawpbm image
10 .SH SYNOPSIS
11
12 \fBbbox\fR [ \fB-l\fR ] [ \fB-r\fR ] [ \fB-h\fR ] [ \fB-V\fR ] [ \fB\fIrawpbmfile\fB\fR ]
13
14 .SH "DESCRIPTION"
15 .PP
16 \fBbbox\fR reads a rawppm or rawpbm file
17 and prints out the bounding box of the image (as postscript comment and
18 in postscript points, i.e. 1/72dpi) as well as the high resolution
19 bounding box. Input is read from standard input if no filename is
20 specified.
21 Example output:
22
23 .nf
24 %%BoundingBox: 12 253 829 837
25 %%HiResBoundingBox: 12.500000 253.000000 828.500000 837.00000
26
27 .fi
28 .PP
29 \fBbbox\fR has only very limited memory requirements
30 as it reads the input line by line and thus needs to store only one picture
31 line in memory.
32 .SH "OPTIONS"
33 .TP
34 \fB-h | --help \fR
35 Show summary of options.
36 .TP
37 \fB-V \fR
38 Show version of program.
39 .TP
40 \fB-r \fR
41 resolution of picture in dpi
42 .TP
43 \fB-l \fR
44 loose bounding box (integer bounding box is expanded by 1
45 point, hires bounding box is expanded by 0.5 points)
46 .SH "SEE ALSO"
47 .PP
48 ps2eps (1)
49 .SH "AUTHOR"
50 .PP
51 \fBbbox\fR was written by Roland Bless.
52 .SS "ACKNOWLEDGMENTS"
53 .PP
54 Special thanks goes to Michael Sharpe from UCSD who suggested a lot of improvements for
55 bbox to become more precise and robust, especially for small drawings.
56 .PP
57 An earlier version of this manual page was originally written by
58 Rafael Laboissiere <[email protected]> for
59 the Debian system. Thank you Rafael! Permission is
60 granted to copy, distribute and/or modify this document under
61 the terms of the GNU Free Documentation
62 License, Version 1.1 or any later version published by the Free
63 Software Foundation; with no Invariant Sections, no Front-Cover
64 Texts and no Back-Cover Texts.
65 .SH "BUGS"
66 .PP
67 Though the code is quite small and the probability for bugs
68 is now small, there may be some left somewhere between the lines.
69 In case you find one, please send a short description with
70 \fBbbox\fR version number to <[email protected]> (please allow some time
71 to reply).