Pack images into a texture atlas.