You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detecting identical sprites and aliasing them in the ron file
texturepacker also has a custom exporter to template output files, so someone could try to make one for a .ron file. Only have 30 days to use a good amount of the features though so glad sheep is in the making.
The text was updated successfully, but these errors were encountered:
Thanks for those feature requests! I agree that those are all things we could very well use and I'd be happy to help anyone who wants to tackle these.
Some Notes:
There seem to be several good png optimizers written in rust, which can be used as libraries. oxipng and mtpng stand out to me and should definitely be looked at first.
Maybe we should split Format into something like ImageFormat and DataFormat, providing sane defaults for both. This way it would be easier to pass format options (like compression) to the part the outputs the image.
Trimming and aliasing should happen independently from the packing algorithm, in my opinion. We don't want to reimplement that functionality for every packer.
I had trimming support in the old version of this tool I wrote some years ago, so if anyone wants to tackle it, there's a very rudimentary implementation here.
Aliasing can be easily done by hashing the files and comparing them before the packing, then adding back removed aliases in the end. meowhash or xxhash are probably good candidates for this.
https://www.codeandweb.com/texturepacker
has a plethora of features that'd be useful
texturepacker also has a custom exporter to template output files, so someone could try to make one for a .ron file. Only have 30 days to use a good amount of the features though so glad sheep is in the making.
The text was updated successfully, but these errors were encountered: