A photo, a camera frame, and a frame decoded from a video can arrive in an app in different forms. They may still need the same exposure adjustment, color transform, or crop. Harbeth is the Swift and Metal rendering engine I maintain to give that work a common home.
Harbeth takes in Apple image types, Metal textures, pixel buffers, and sample buffers. Its rendering pipeline works with Metal textures, so an app can keep the result as a texture when the next step also runs on the GPU. The engine can render a single image or process individual frames inside a camera preview or video pipeline. It supports iOS, iPadOS, macOS, and tvOS.
For a straightforward edit, HarbethIO can apply a filter chain directly to the input. When an edit grows to include geometry, masks, or compositing, ImageNode lets you describe it as a render graph and choose how the result is delivered. A photo editor might start by adjusting exposure and color in a filter chain, then move to ImageNode when the same edit needs to combine layers and produce a texture for preview.
If you’re trying Harbeth for the first time, start with one image and a short filter chain. The GitHub README shows both ways to get started, and the example apps give you a place to try them.
If Harbeth has helped you build something, I’d love to hear what you made. You can also buy me a coffee here to support ongoing maintenance. Thanks for reading.
Condy
