A New Encryption Method for Secure Transmission of Images