With the rapid development of military applications and advanced warfare between the nations, the building of network and communication technology, transmitting sensible information across troops has become a necessary way of information transmission. Therefore, much more attention has been paid to the development of the image encryption technology for military applications. In this paper, we propose a image encryption technology based on AES algorithm, and the algorithm implementation in GNC/GCC. Then, we perform image processing, obtain the password text that can use the AES encryption algorithm, combine both password and secured image. Then, the digital image can be encrypted, and the algorithm is realized in GNU simulation. Through the comparison of the histogram analysis and the analysis of the key, the result has showed that the method can better realize the effect of encryption and decryption with more security for image transmission.