#Bounding Box
2 messages in this thread
I think I recall seeing here a message saying that the calculation of
Bounding Box entries required for making an EPS file was a relatively
trivial matter and code to do so was readily available. Am I dreaming or is
this the case? Can someone steer me in the direction of a solution? (The
problem is that I would like to import some "hand-crafted" PostScript into
Ventura, and I have had to spend a lot of time messing around with
calculating Bounding Box values.)
I suspect that this isn't the answer you're looking for, but here goes…
Since I always have to make adjustments to imported .EPS frames in Ventura,
I've always taken a pragmatic approach to calculating bounding box limits.
I print the PS program, get out the ruler, and start measuring from the
bottom left. After multiplying inches by 72, I've got the coordinates. I
add the limits to the PS program, rename the file .EPS, and fine-tune/crop,
etc., with Ventura (which I'm gonna do anyway). Granted, not elegant, but
(1) it works and (2) it's fast. I'll be watching with you for some more
cerebral answers.