Pack several small images into a bigger on, and vice versa.