a simple image/texture atlas packer