Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:27
· 26 commits to main since this release

Release Notes: v0.2.0

Highlights

GPU Acceleration - This release introduces GPU-accelerated image processing using WebGPU
(wgpu), providing significant performance improvements for film negative conversion.

New Features

GPU Acceleration

  • Added full GPU processing pipeline with automatic fallback to CPU when GPU is unavailable
  • Implemented GPU shaders for:
    • Color inversion
    • Color matrix transformations
    • Tone curve application
    • Color space conversion
    • Histogram computation
  • New --cpu flag to force CPU-only processing when needed
  • GPU context management with buffer pooling for efficient memory usage

CLI Improvements

  • Added JSON output support for analysis results (--json flag)
  • New command options for base estimation configuration
  • Improved output format flexibility

Documentation

  • Updated README with detailed descriptions of inversion modes
  • Enhanced CLI option documentation

Technical Changes

  • New invers-core::gpu module with:
    • context.rs - GPU device and queue management
    • pipeline.rs - Processing pipeline orchestration
    • buffers.rs - GPU buffer management
    • WGSL shaders for all processing stages
  • Added build_convert_options_full_with_gpu function for GPU-specific configuration
  • Extended ConvertOptions model with GPU settings