Add memory effect to memory images.