what was the source code for image encryption and decryption

 Accepted Answer

imwrite( 1 - im2double(imread('ImageFileName')), 'TransformedImageFileName' )
This serves as both encryption and decryption.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!