Picguin is a collection of fast, pure Luau image codecs for a growing range of formats.
It provides a standardized interface for straightforward decoding & encoding.
- Fully type-safe, optimized using modern techniques for maximum performance
- Lightweight, self-contained implementations with zero dependencies
- Seamlessly compatible with Roblox, Lune, and other Luau runtimes
- Architected to easily scale and support new formats over time
2 Likes
What are the use cases for this?
to be upfront, the practical use cases are fairly niche, generally situations involving EditableImages where roblox’s apis for images would be insufficient
a good example would be procedural/user-generated image data that needs to persist or be transferred efficiently (a raw uncompressed 1024x1024 RGBA8 image is be over 4MB in size, exceeding the limit for a single datastore key). picguin also opens up the ability to fetch and decode images from hosts outside of roblox itself
use cases aside though, the project primarily exists to provide a consistent and ergonomic interface to deliver the most performant image codecs possible in pure luau. i’m making this because i think something like this absolutely belongs in the ecosystem
1 Like