Skip to content

v0.4.2

Choose a tag to compare

@Pinta365 Pinta365 released this 25 Dec 18:37
· 19 commits to main since this release

Added

  • JPEG coefficient extraction and encoding API for steganography support:
    • Image.extractCoefficients() - Extract quantized DCT coefficients from JPEG images
    • Image.encodeFromCoefficients() - Re-encode JPEG from modified coefficients
    • JPEGFormat.extractCoefficients() - Format-specific coefficient extraction
    • JPEGFormat.encodeFromCoefficients() - Format-specific coefficient encoding
    • JPEGDecoder now supports extractCoefficients option to store quantized values
    • JPEGEncoder.encodeFromCoefficients() - Encode pre-quantized DCT coefficients
    • New types: CoefficientData, JPEGQuantizedCoefficients, JPEGComponentCoefficients
    • Comprehensive tests for coefficient extraction and encoding in
      test/formats/jpeg_coefficients.test.ts

Fixed

  • Documentation: Added browser support notes to README.md and docs/src/index.md to clarify
    in-browser support.