The paper presents an efficient m-ary QIM data hiding algorithm aimed at improving image error concealment by embedding edge direction information during encoding. This approach reduces the computational workload for decoders, making it suitable for real-time applications, while maintaining high fidelity in image recovery. Experimental results validate the effectiveness of the proposed scheme, highlighting its advantages over traditional error concealment techniques.