I\'m trying to put several images together into one big image, and am looking for an algorithm which determines the placing most optimally. The images can\'t be rotated or r
Appearantly it's called a 'packing problem', which is something frequently used in game programming. For those interested, here are some suggested implementations:
Packing Lightmaps,
Rectangle packing and
Rectangle Placement