Image Processing In Python Code For Prime