Area scan or area array camera