This document presents an improved digital image steganography method that enhances security and imperceptibility through odd/even pixel allocation and random function techniques. By employing Huffman coding to modify secret data before embedding, the method aims to boost the peak-signal-to-noise ratio (PSNR) of the stego images, thereby protecting against attacks and increasing secret data capacity. The results indicate the effectiveness of this approach in maintaining image quality while successfully concealing information.