This is the command bbox that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
bbox - prints out the bounding box of a rawppm or rawpbm image
bbox [-l] [-r] [-h] [-V] [rawpbmfile]
bbox reads a rawppm or rawpbm file and prints out the bounding box of the image (as
postscript comment and in postscript points, i.e. 1/72dpi) as well as the high resolution
bounding box. Input is read from standard input if no filename is specified. Example
%%BoundingBox: 12 253 829 837
%%HiResBoundingBox: 12.500000 253.000000 828.500000 837.00000
bbox has only very limited memory requirements as it reads the input line by line and thus
needs to store only one picture line in memory.
-h | --help
Show summary of options.
Show version of program.
resolution of picture in dpi
loose bounding box (integer bounding box is expanded by 1 point, hires bounding box is
expanded by 0.5 points)
Use bbox online using onworks.net services