Realization Theory and Design of Digital Images