With the continuous development and popularization of information technology, the field of product packaging design is inseparable from the application of computer graphics design. In order to realize the visualization of complex forms of packaging design, this paper proposes a packaging design image processing algorithm based on the visual characteristics of the human eye to enhance the packaging design pattern. Combining the Transformer and Generative Adversarial Network (GAN) algorithms, the DPformer-GAN model is constructed to realize the layout innovation of the product packaging, and the loss function is designed. The packaging creative design method based on DPformer-GAN model proposed in this paper is applied to design the packaging of clothing products. The average value of the designed clothing product packaging is higher than 4 in each dimension of the evaluation of the effect of color elements, and in the evaluation of the effect of the logo elements of the packaging, the prominence of the packaging logo is the most prominent, and the average value of the psychological evaluation of the purchase intention and the degree of brand impression reaches a high rating of 4.18 and 4.09. The overall visual layout of the packaging elements is also more effective, which strengthens the unique characteristics and visual recognition of the packaging design. The overall visual layout of the package is also more effective, strengthening the unique characteristics and visual recognition of the package design.