|
|
 |
| C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the C# section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

January 4th, 2007, 03:25 PM
|
|
Authorized User
|
|
Join Date: Feb 2006
Location: Ahmedabad, Gujarat, India.
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Encrypt Image Files?
Hi all,
I need to encrypt image files and convert the extension to something else like .dat, so that noone can see the image directly.Only my software should be used to view images.
How to encrypt and decrypt image file??
Thanks in advance,
Savan Thakkar.
Savan
__________________
Savan
|

January 4th, 2007, 04:36 PM
|
|
Wrox Author
Points: 12,827, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
|
|
You could transform the image file into a byte stream, encrypt that byte stream, and then write out a .DAT file. To view the image you would just run the process in reverse, open the dat file, unencrypt the data and save the file back out as a .jpg or whatever.
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |