Skip to content

Releases: WoozyMasta/bcn

Release v0.1.5

17 Feb 16:12
v0.1.5
3d88738

Choose a tag to compare

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

09 Feb 22:57
v0.1.4
acd44ad

Choose a tag to compare

Added

  • DecodeDDSWithOptions and DecodeKTXWithOptions to decode first face/mip with DecodeOptions (e.g. Workers)
  • KTX uncompressed support read/write RGBA8 and BGRA8 (parity with DDS)
  • KTX GL constants for uncompressed format KTXGLUnsignedByte, KTXGLBGRA, KTXGLRGBA8
  • ktxHeaderFormats and helpers for KTX uncompressed layout (row stride, bottom-up <-> tight top-down)
  • Round-trip test for uncompressed KTX (TestKTXUncompressedRoundTrip)

Changed

  • DecodeDDS / DecodeKTX now delegate to DecodeDDSWithOptions / DecodeKTXWithOptions with nil options
  • KTX ErrUnsupportedKTXCompressed renamed to ErrUnsupportedKTXUncompressed (used for unsupported uncompressed formats)
  • KTX write accepts FormatRGBA8 and FormatBGRA8; header uses ktxHeaderFormats for both compressed and uncompressed

Release v0.1.3

06 Feb 14:31
v0.1.3
18bca32

Choose a tag to compare

Added

  • Quality tuning with QualityLevel (1..10) and RefinementOptions overrides
  • Parallel encoding control via EncodeOptions.Workers with worker pool/thresholds
  • Parallel decoding control via DecodeOptions.Workers and Decode*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 GOMAXPROCS for large images); set Workers=1 to force serial behavior

Removed (Breaking)

  • Quality enum and EncodeOptions.Quality (use QualityLevel or QualityLevelFast/Balanced/Best)

Release v0.1.2

05 Feb 16:38
v0.1.2
47b3ccb

Choose a tag to compare

Added

  • configurable RGB weights with
    new RGBWeights type and option in EncodeOptions
  • more roundtrip tests

Release v0.1.1

04 Feb 21:12
v0.1.1
7518c4f

Choose a tag to compare

Added

  • DecodeKTX decode first face/mip of KTX to *image.NRGBA
  • Subpackages bcn/dds and bcn/ktx registers DDS/KTX with
    image.RegisterFormat for use with image.Decode / image.DecodeConfig

Release v0.1.0

04 Feb 02:32
v0.1.0
ecc6cef

Choose a tag to compare

Added

  • First public release