Hey guys. This is a bit of an off the wall question, and my google-fu hasn't
really produced any answers to my liking.

I would like to be able to calculate what size of an image to produce in
order to print to a target size. Specifically, I'm going to be working on
some CAD like stuff which requires a fair amount of computation. Thus, I
need to do all the computational geometry outside of any program that
supports such a feature (e.g. AutoCAD). I haven't started coding any of
this, though I will probably use Ruby or Java if that makes a difference.
Either way, I'll be creating images from the calculations.

So, really this is just a matter of figuring out the best way to map image
resolution in pixels to print dimensions in inches.

Anyone know of an easy way to do this aside from trial and error testing?
I'd like to be as exact as possible, and ideally not have to do any image
scaling at print time. (Ideally, the solution will work across multiple
printers. Bonus points for anything OS agnostic.)

-- 
Christopher Conroy

Reply via email to