We present a generalized holography-based approach with improved spatial resolution for extracting images, viewed through a scattering medium. The various angular directions are encoded either with different wavelengths or by capturing their corresponding images in different time slots. The various encoded images are recorded on a digital hologram with a computer. A digital reconstruction, which includes demodulation of the carrier beam and then a proper decoding algorithm, yields resolved images. The principle is demonstrated by recording image-plane digital holograms. Combining the suggested approach with the first-arriving light technique may further improve the results.