/aseprite.zig

An Asesprite file parser written in Zig.

Primary LanguageZig

aseprite.zig

This is a Zig library to read (possibly write) and work with Aseprite files.

Examples:

For now please read the tests in src/aseprite.zig for example usage.

Goals:

  • Support a large subset of the Aseprite file format
    • Load images from .aseprite files
      • Handle zlib-compressed chunks and raw chunks
      • Handle all color modes
    • Load tilemaps from .aseprite files
  • Create a simple but powerful API to work with Aseprite files
    • Create some more simple wrappers around STB to pack images into texture atlases/spritesheets
    • Create texture atlases from Aseprite files
  • Make this a zig module that can be used with the native package manager
    • Handle dependencies from local c libraries

Non-goals (initially):

  • Support the entire Aseprite file format
  • Write .aseprite files