Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Given this 16x16 image in input:
This 24x24 image is outputted:
Truncating last column (blue) and last row (red).
How to reproduce:
Rest of the story:
I was looking for a command line texture packer, with no graphical interface, with just the very exact options your tool exposes, and I am very satisfied. Easy to build (about time for everyone to finally switch to CMake), no dependencies outside of the codebase. Just fantastic.
That being said, I am afraid there's a bug.
My use case is packing a bunch of uniform, 16x16 tiles that I will use in my tile renderer.
So I found out that using outputted UVs pixel bleeding occurs. As I investigated, UVs seemed to be OK (16x16), also no half-pixel correction was needed on my side.
I looked at the tilesheet outputted from atlasc and I was bewildered - every tile was 15x15 instead of 16x16 given in input.
My call was:
Am I using atlasc wrong?
Actually, you are right!
So, It is fixed now, and thank you very much!