The increasing demand for personalized pictures has encouraged the fusion of images and texts to form a new type of media
which has resulted in the new field of image processing:visual media automatic design. Visual automatic design focuses on technology that can automatically add aesthetic text watermarks to users' pictures. In this study
we optimized the location and color schemes of text watermarks based on the principle of design and computer vision. We selected the best location of text watermarks on the basis of visual saliency theory and composition theory. We selected a suitable color was by considering visual contrast and color harmonization. To successfully combine texts and images
we adaptively matched the original images with the template of the color wheel to select the appropriate text color. Comparing the digital watermarking of Tencent (73.25%:9.32%) and of the pictures in National Geographic (Chinese version) (97.8%:2.8%) with that of the proposed algorithm showed that the algorithm automatically provided satisfactory results. The proposed algorithm improves the design and enhances the aesthetics of the combined text and image layouts whether the current watermark camera or the simple editing is involved.