TexturePacker.Lib
1.0.0
See the version list below for details.
dotnet add package TexturePacker.Lib --version 1.0.0
NuGet\Install-Package TexturePacker.Lib -Version 1.0.0
<PackageReference Include="TexturePacker.Lib" Version="1.0.0" />
paket add TexturePacker.Lib --version 1.0.0
#r "nuget: TexturePacker.Lib, 1.0.0"
// Install TexturePacker.Lib as a Cake Addin #addin nuget:?package=TexturePacker.Lib&version=1.0.0 // Install TexturePacker.Lib as a Cake Tool #tool nuget:?package=TexturePacker.Lib&version=1.0.0
TexturePacker
Requires .NET 4.6 and C# 7
Small C# app that packs all the png from a folder int a set of square atlas textures
Features
- Supports download by specifing a folder by CLI.
- It takes care of current folder hierarchy.
Supported platforms
Windows and Linux (Mono).
Usage
Usage: TexturePacker -sp xxx -ft xxx -o xxx [-s xxx] [-b x] [-d] -sp | --sourcepath : folder to recursively scan for textures to pack -ft | --filetype : types of textures to pack (*.png only for now) -o | --output : name of the atlas file to generate -s | --size : size of 1 side of the atlas file in pixels. Default = 1024 -b | --border : nb of pixels between textures in the atlas. Default = 0 -d | --debug : output debug info in the atlas
Ex: TexturePacker -sp C:\Temp\Textures -ft *.png -o C:\Temp\atlas.txt -s 512 -b 2 --debug
Packer script
In folder scripts you can see packer.cmd
a Windows Shell script including an example.
Issues
Having issues? Just report in the issue section. Thanks for the feedback!
Contribute
Fork this repository, make your changes and then issue a pull request. If you find bugs or have new ideas that you do not want to implement yourself, file a bug report.
Disclaimer
Currently using serveral classes (Point, Rectangle && Size) from Unity-WinForms for ForUnity
build configuration mode. Thanks to @Meragon!
Donate
Become a patron, by simply clicking on this button (very appreciated!):
... Or if you prefer a one-time donation:
Copyright
Copyright (c) 2019 z3nth10n (United Teamwork Association).
License: MIT
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TexturePacker.Lib:
Package | Downloads |
---|---|
uzLib.Lite
The Lite version of my paid uzLib (Unity3D) API used as dependency of my open-source repos. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.