I have images whose side ratios are known, and the number of images is known. I have canvas whose measurements are known. I need to know what's the optimal length of images sides so that all my images would fit on canvas and maximum area is used.
All images are of the same size. And images should be placed correctly for viewing. (not on a side that would make image horizont be in vertical angle.)
I put the question under discrete-mathematics, let me know if it's in a wrong place.
Thanks. :)
This link had (Almost) the answer: https://stackoverflow.com/questions/10643129/split-screen-based-on-number-of-items-and-screen-ratio