This document proposes a cryptographic key generation technique for 2D graphics images using RGB pixel shuffling and transposition. The technique extracts RGB pixel values from an input image, shuffles them to generate a cipher image, and can decrypt the image back to its original form. It aims to increase image security during transmission by manipulating pixel values rather than expanding pixel data. The algorithm is implemented in Java. Experimental results show the technique can encrypt and decrypt images while maintaining the original size and shape. Advantages include effectively increasing security against attacks and easily reconstructing image features from RGB values.