Files
test2/source
Jesse Yurkovich 1771ded381 Fix: Call OpenImageIO correctly when creating grayscale images
The call to `channel_sum` requires that the `weights` array is at least
as large as the number of channels in the originating buffer.

Switch to use the span overload as well since the method that takes a
raw weights array is deprecated.

Thanks to @aras_p for debugging the issue.

Pull Request: https://projects.blender.org/blender/blender/pulls/106847
2023-04-12 10:23:34 +02:00
..