HDR pixels: tuples vs. StaticArrays

You don’t need to alter the values inside a pixel, a pixel is trivial to reconstruct with one changed value. Look at Accessors.jl for example. You’ll have an array of pixels and you can change the pixels in that array. If you make the pixel type mutable your image array can only store pointers, making the whole thing much slower than with contiguous inline storage of the actual pixel values.