Convert Array{UInt8, 3} to Matrix{RGB{N0f8}}

I found this solution:

Which solved my problem perfectly.