This document proposes a novel image cryptography method using nearest prime pixels for key generation. It begins by introducing image cryptography and its basic concepts. The proposed method first converts image pixels to digital values and finds the nearest prime pixel values. Keys are generated by taking the difference between original and nearest prime pixels. Encryption is done by XORing pixels with keys and reversing the results, which are stored column-wise in a matrix. Decryption retrieves the matrix rows and performs reverse operations to recover the original image. The method aims to improve security by using mixed row/column retrieval and complementary operations during encryption and decryption.