Skip to content

0.0.9

Choose a tag to compare

@offerrall offerrall released this 18 Dec 02:57
· 13 commits to main since this release

New Features

OpenGL Integration (Alpha)

  • Added GLResource for GPU-to-GPU display via CUDA-OpenGL interop
  • Sub-millisecond preview updates (~1ms for 2K images)
  • Zero CPU overhead for real-time rendering applications
  • See docs

Direct U8 Save

  • Added save_u8() to save ImageU8 buffers without F32 conversion
  • Useful for display+save workflows (convert once, use twice)

Example

# Convert once
u8_buffer = ImageU8(1920, 1080)
convert_float_to_u8(u8_buffer, f32_image)

# Use for both display and save
gl_resource.copy_from(u8_buffer)  # Display
save_u8(u8_buffer, "output.png")  # Save

Installation

pip install --upgrade pyimagecuda