Comments (5)
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.
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.
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.
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.
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)
- Add an option to create atlases out of big spritesheets and not only from hundreds of standalone textures HOT 2
- Crash report HOT 1
- Crash when choosing destination folder for sprites HOT 5
- Crash on saving .tpproj file in a folder within the folder the .atlas file is exported to HOT 3
- [Windows] Failed to load native libs if username has non UTF-8 characters. HOT 3
- Grid layout option adding weird Y-padding HOT 4
- Crashing upon multipage pack copy HOT 2
- Packing two images with the same name but different paths will omit one of them HOT 3
- Non-Visible Drive Letters HOT 1
- Feature Request: Allow different file types for atlases HOT 6
- Crash report (Failed to load lwjgl library when clicking on "Add input files" button). HOT 1
- File conflict errors when attempting to install RPM HOT 5
- Error loading existing project HOT 2
- Crash report HOT 2
- Crash report HOT 2
- How to run CLI options? HOT 1
- Missing Dockerfile
- Crash report
- Crash report HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdx-texture-packer-gui.