|
-
Jun 23rd, 2012, 08:42 AM
#5
Re: Organizing images based on size.
I just noticed an article in the CodeProject which offers "a fast algorithm to pack a series of rectangles of varying widths and heights into a single enclosing rectangle, with no overlap and in a way that minimizes the amount of wasted space in the enclosing rectangle". It appears to seek the smallest rectangle that will enclose a given set of rectangles. That's not quite the same as OP asks but I think it must be worth looking at.
Here's the link: Fast Optimizing Rectangle Packing Algorithm for Building CSS Sprites
BB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|