Giter Club home page Giter Club logo

Comments (5)

powof2 avatar powof2 commented on June 6, 2024

BTW, can this GUI tool export packer settings to a json file which can be used by the command line tool? that will be really convenient. Thank you.

from gdx-texture-packer-gui.

Frosty-J avatar Frosty-J commented on June 6, 2024

If you're using the command line tool, you probably want to see https://github.com/libgdx/libgdx/issues instead and provide details of how to reproduce the issue. I've tried with the following files and command and didn't experience any scaling.

  • robin.png
  • settings.json (remove .txt extension from download)
  • java -jar runnable-texturepacker.jar in . test settings.json

Output file: test.png

from gdx-texture-packer-gui.

powof2 avatar powof2 commented on June 6, 2024

Hi Frosty-J,
You're correct, i tried again with the command line tool. it produces the final atlas as expected.

I'm going to check the program that runs this command line tool, maybe the problem is there.

By the way, why i failed to run your example command line? i have to use this:
java -cp runnable-texturepacker.jar com.badlogic.gdx.tools.texturepacker.TexturePacker . test

from gdx-texture-packer-gui.

Frosty-J avatar Frosty-J commented on June 6, 2024

Not sure. I'd expect Java to automatically be able to use the main class (com.badlogic.gdx.tools.texturepacker.TexturePacker).

from gdx-texture-packer-gui.

metaphore avatar metaphore commented on June 6, 2024

I don't think it's possible to export a json configuration that is compatible with the original CLI tool. The GUI app uses very different input file approach and at this point runs modified version of the original libGDX texture packer code.

The CLI support for the app was on the roadmap for many years, it's just didn't seem like there's much of demand for the future. I will see if it's possible to integrate a very simple CLI pack command just to begin the process of implementing CLI automation.

from gdx-texture-packer-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.