Here's how to generate content (atlas and image files) using libGDX TexturePacker: java -cp gdx.jar:gdx-tools.jar com.badlogic.gdx.tools.texturepacker.TexturePacker Or with the main class:
// Padding and bleeding settings.paddingX = 2; settings.paddingY = 2; settings.bleed = true; settings.duplicatePadding = true; settings.edgePadding = true; libgdx texturepacker
java -cp gdx.jar:gdx-tools.jar com.badlogic.gdx.tools.texturepacker.Main import com.badlogic.gdx.tools.texturepacker.TexturePacker; public class TexturePackerExample { public static void main(String[] args) { // Parameters: inputDir, outputDir, packFileName TexturePacker.process("input/images", "output", "my-atlas"); Here's how to generate content (atlas and image