rectangle layout algorithm?

Richard Taylor rjt-usenet at thegrindstone.me.uk
Thu May 6 05:59:39 EDT 2004


Hi

I need an algorithm to layout a collection of rectangles (images) within a
bounding rectangle (sheet of paper). 

I feel sure that I am not the first person faced with this problem :-) 

Does anyone know of a Python library that provides such a capability?

(Actually building the composite image is not a problem, I am going to use
PIL to do that. It is knowing where to place the images that I need to
solve.)

Many thanks.

Richard




More information about the Python-list mailing list