Hmm, I'd guess the 'secret' image is a bunch of alternating pixels at very low contrast, with the 'front' image on every other pixel at high contrast. When you select, 'doze draws alternating grey pixels over the image, covering the front image pixels completely, so only the secret image is visible.
Very clever idea.
