fix: moved rgbchannelcount/effsizec calc to imagemeta

fixes bytearrayplane allocation