BSD-3-Clause licensed by IC Rainbow
This version can be pinned in stack with:ktx-codec-0.1.0.0@sha256:f6493481cebefba50585f2ef86cce8a74d28fa95987ebd6bece296ef46572a61,2819
Module documentation for 0.1.0.0
Changelog for ktx-codec
Making editing KTX2 files simpler.
- Add
Codec.Ktx2 with the Ktx2 type pulled from Codec.Ktx2.Write arguments.
- Changed
Codec.Ktx2.Write functions to use that Ktx2 instead. Breaking.
- Add
Codec.Ktx2.Read.fromFile to read the whole file at once and put it into Ktx2 envelope.
- Add
Codec.Ktx.KeyValue.writerKtxCodec/writerCodecWith/editWriter so you can brag about using this library when writing.
- Add container-like functions for
Codec.Ktx.KeyValue: lookup, insertBytes, insertNumber, and insertText.
- Add
Codec.Ktx2.Write.
- Add patterns for Khronos keys
- Add patterns for Khronos DFD.BasicV2
- Add experimental KTX 2.0 support.
- Only reading for now.
- Everything besides the header is read on demand.
- MipLevel data can be read into provided buffer directly.
KeyValueData moved to Codec.Ktx.KeyValue and dropped the Key newtype.
- Add
textual to extract all valid text values.
- Put tests under a flag. No code change.
- Allow
text-2.
- Allow bytestring-0.12.
- Fix
getKeyValueData decoder.
- Fix encoder endianness.
- Add
fromByteStringLazy, toBuilder and toFile.