Releases: WoozyMasta/bcn
Releases · WoozyMasta/bcn
Release v0.1.5
Changed
- Internal refactor of DDS/KTX encoding pipeline (shared face/mipmap encoding path).
- Codebase cleanup for stricter lint rules (modernized loops, safer indexing patterns).
- Build/CI maintenance: updated linter/tooling setup and benchmark targets.
- Added SPDX file headers across package sources.
- Improved code documentation with more detailed comments.
Release v0.1.4
Added
DecodeDDSWithOptionsandDecodeKTXWithOptionsto decode first face/mip withDecodeOptions(e.g.Workers)- KTX uncompressed support read/write RGBA8 and BGRA8 (parity with DDS)
- KTX GL constants for uncompressed format
KTXGLUnsignedByte,KTXGLBGRA,KTXGLRGBA8 ktxHeaderFormatsand helpers for KTX uncompressed layout (row stride, bottom-up <-> tight top-down)- Round-trip test for uncompressed KTX (
TestKTXUncompressedRoundTrip)
Changed
DecodeDDS/DecodeKTXnow delegate toDecodeDDSWithOptions/DecodeKTXWithOptionswith nil options- KTX
ErrUnsupportedKTXCompressedrenamed toErrUnsupportedKTXUncompressed(used for unsupported uncompressed formats) - KTX write accepts
FormatRGBA8andFormatBGRA8; header usesktxHeaderFormatsfor both compressed and uncompressed
Release v0.1.3
Added
- Quality tuning with
QualityLevel(1..10) andRefinementOptionsoverrides - Parallel encoding control via
EncodeOptions.Workerswith worker pool/thresholds - Parallel decoding control via
DecodeOptions.WorkersandDecode*WithOptions - Encode/decode benchmarks and Makefile targets (
bench-encode,bench-decode, baseline/compare)
Changed
- DXT1/DXT5 encoding significantly faster with fewer allocations (refinement, PCA, alpha paths)
- Fast paths for block extract/store and other hot loops
- Encoding/decoding can now run in parallel by default (uses
GOMAXPROCSfor large images); setWorkers=1to force serial behavior
Removed (Breaking)
Qualityenum andEncodeOptions.Quality(useQualityLevelorQualityLevelFast/Balanced/Best)
Release v0.1.2
Added
- configurable RGB weights with
newRGBWeightstype and option inEncodeOptions - more roundtrip tests
Release v0.1.1
Added
DecodeKTXdecode first face/mip of KTX to*image.NRGBA- Subpackages
bcn/ddsandbcn/ktxregisters DDS/KTX with
image.RegisterFormatfor use withimage.Decode/image.DecodeConfig
Release v0.1.0
Added
- First public release