Simple solutions for spectroscopic, photon counting X-ray imaging detectors