Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TinyVG/sdk
TinyVG software development kit
https://github.com/TinyVG/sdk
sdk tinyvg vector-graphics zig zig-package
Last synced: 29 days ago
JSON representation
TinyVG software development kit
- Host: GitHub
- URL: https://github.com/TinyVG/sdk
- Owner: TinyVG
- License: mit
- Created: 2021-12-18T16:43:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-30T15:13:26.000Z (4 months ago)
- Last Synced: 2024-11-05T07:34:30.914Z (about 1 month ago)
- Topics: sdk, tinyvg, vector-graphics, zig, zig-package
- Language: Zig
- Homepage: https://tinyvg.tech/
- Size: 104 KB
- Stars: 268
- Watchers: 8
- Forks: 15
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - TinyVG/sdk
README
# TinyVG Software Development Kit
This SDK enables you to work with the [TinyVG](https://tinyvg.tech/) vector graphics format.
## Contents
- Native Library (C ABI)
- Zig Package
- Command Line Tooling
- Offline Rendering (TVG -> TGA)
- Format Conversion (SVG <-> TVG <-> TVGT)## Building
The SDK is implemented with [Zig](https://ziglang.org/) 0.11.0 and [dotnet 6](https://dotnet.microsoft.com/en-us/).
To build the SDK (except `svg2tvgt`), do this:
```sh-session
[user@host sdk]$ zig build
[user@host sdk]$
```This will then produce the folders `zig-cache` (for temporary files) and `zig-out`, which contains the SDK files for your current platform.
To build `svg2tvgt`, go into the folder `src/tools/svg2tvgt` and do this:
```sh-session
[user@host sdk]$ cd src/tools/svg2tvgt/
[user@host svg2tvgt]$ dotnet build
MSBuild version 17.3.2+561848881 for .NET
Determining projects to restore...
All projects are up-to-date for restore.
svg2tvgt -> /mnt/src/tools/svg2tvgt/bin/Debug/net6.0/svg2tvgt.dllBuild succeeded.
0 Warning(s)
0 Error(s)Time Elapsed 00:00:00.69
[user@host svg2tvgt]$
```This will then produce `src/tools/svg2tvgt/bin/Debug/net5.0/svg2tvgt` (or `.exe` if you are on windows).