Most idomatic way to convert an Images.jl Image to a 3-d array?

permutedims(channelview(img), (2,3,1))
2 Likes