Skip to content

Release v0.1.4

Choose a tag to compare

@github-actions github-actions released this 09 Feb 22:57
· 4 commits to master since this release
v0.1.4
acd44ad

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