Case-Switch for D8 images in getChannel. There has to be a more clean, abstract solution for arbitrary depth here.