These scripts can be ignored if you’re not likely to be working with PostScript files. I wrote/modified these ages ago, and hope someone can use them.
Download bbox – calculate the BoundingBox of a page. Should probably be combined with epstotiff.
You’ll pretty much need a Unix box with ghostscript to make these work.