Skip to content

0.0.3

Choose a tag to compare

@offerrall offerrall released this 28 Nov 09:20
· 31 commits to main since this release

PyImageCUDA 0.0.3 Release Notes

What's New

New Modules

Adjust - Color and tone adjustments (in-place operations)

  • Adjust.brightness() - Linear brightness adjustment
  • Adjust.contrast() - Contrast relative to middle gray
  • Adjust.saturation() - Color intensity control
  • Adjust.gamma() - Non-linear brightness (gamma correction)

Transform - Geometric transformations

  • Transform.flip() - Horizontal, vertical, or both axes
  • Transform.rotate() - Any angle rotation with expand/clip modes
    • Optimized fast paths for 90°, 180°, 270°
    • Bilinear interpolation for arbitrary angles
  • Transform.crop() - Extract rectangular regions

Enhanced Blend Module

  • Blend.overlay() - Combines multiply and screen for contrast
  • Blend.soft_light() - Gentle lighting effect
  • Blend.hard_light() - Strong lighting effect
  • Blend.mask() - Alpha masking with luminance or alpha modes

Documentation

All new operations include:

  • Comprehensive examples with visual comparisons
  • Performance notes and optimization tips
  • Buffer reuse patterns for batch processing

Full docs: offerrall.github.io/pyimagecuda

Upgrade

pip install --upgrade pyimagecuda