RectanglePacker (nuget): Using area optimization heuristic algorithm to provide solution for this NP complete problem.       In general, rectangle (or area) optimization is a combinatorial optimization problem.       Although the problem is dealing with a 2D plane, it coincides with Travelling Salesman problem.  http://www.codeproject.com/Articles/210979/Fast-optimizing-rectangle-packing-algorithm-for-bu
Keywords: sprite|sprites|images|packer|rectangle|mapper