Handle multi-channel images