A Haxe library providing comprehensive support for reading and writing various file formats including images, archives, and Flash formats.
Format is a Haxe library that provides extensive support for reading and writing various file formats. It solves the problem of handling diverse binary and multimedia files in Haxe applications by offering standardized modules for formats like images, archives, audio, video, and Flash-related files. The library enables developers to work with these formats without needing to implement low-level parsing logic themselves.
Haxe developers who need to process multimedia files, work with archives, handle Flash formats, or manipulate binary data in their applications. This includes game developers, tool creators, and anyone building cross-platform applications with Haxe.
Developers choose Format because it provides a comprehensive, well-structured collection of format handlers specifically designed for the Haxe ecosystem. Its clean separation between data structures and processing logic offers flexibility and maintainability, while supporting a wide range of formats reduces the need for external dependencies.
Various files formats support for Haxe
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports over 20 different file formats, including images, archives, audio, and Flash files, as detailed in the README table, reducing the need for external dependencies.
Each format follows a consistent organization with Data, Reader, and Writer classes, making it easy to navigate and extend, as outlined in the Package Structure section.
Decoded information is stored in pure data structures separate from manipulation logic, enabling easy library extensions and future implementation changes, per the library's philosophy.
Many formats, such as PNG, ZIP, and SWF, support both reading and writing operations, providing comprehensive handling capabilities, though not all formats are fully covered.
Several formats have only reader or writer support, such as JPG (write-only), PDF (read-only with partial decryption), and ELF (read-only), limiting their utility for full file manipulation.
For example, the TGA format's writer lacks RLE encoding support, and reader/writer do not handle developer data chunks, as explicitly noted in the README table, which can be a blocker for certain use cases.
The library is tightly coupled with the Haxe programming language, making it unsuitable for projects using other languages or requiring broader ecosystem integration.