OK, I am working on a project where a viewer can upload an image, and my client wants to offer three defined sizes all based on square footage.
So, if a viewer loads up a 5000 x 3000 px image, we want to know the size it would be that comes to say 24 square feet, within an inch or two. It could be a 18811 x 3036.
I have scratched my brains and what little hair I have left trying to come up with the formula. Found nothing searching, but, I have seen this done on sites, so I know it is feasible.
I tried using formula to get common denominator but, it is not always pretty like 16:9 or 4:3. It could be 2375:1890 or worse.
Anyone with ideas? REALLY would appreciate it.
Thanks