This paper presents a novel method for image cryptography using nearest prime pixels to enhance data security during transmission. The process involves key generation through the identification of nearest prime pixels and subsequent 2's complement operations for decryption. The proposed system emphasizes the efficiency of image cryptography techniques while ensuring confidentiality, authentication, and data integrity.