Click here to Skip to main content
15,918,668 members
Home / Discussions / C#
   

C#

 
GeneralRe: Open an excel document Pin
HakunaMatada12-Dec-05 23:49
HakunaMatada12-Dec-05 23:49 
AnswerRe: Open an excel document Pin
Polis Pilavas12-Dec-05 23:13
Polis Pilavas12-Dec-05 23:13 
QuestionHow to use PictureBox Events in Datagrid ??? Pin
Abubakarsb12-Dec-05 20:05
Abubakarsb12-Dec-05 20:05 
AnswerRe: How to use PictureBox Events in Datagrid ??? Pin
MarcelErz12-Dec-05 21:30
MarcelErz12-Dec-05 21:30 
GeneralRe: How to use PictureBox Events in Datagrid ??? Pin
Abubakarsb13-Dec-05 6:02
Abubakarsb13-Dec-05 6:02 
QuestionStoring text information in an image Pin
Maqsood Ahmed12-Dec-05 19:58
Maqsood Ahmed12-Dec-05 19:58 
AnswerRe: Storing text information in an image Pin
Vikram A Punathambekar12-Dec-05 21:46
Vikram A Punathambekar12-Dec-05 21:46 
AnswerRe: Storing text information in an image Pin
MarcelErz12-Dec-05 21:48
MarcelErz12-Dec-05 21:48 
HI!

You can add information in the lowest significant bits of the color at each pixel. A human eye will not be able to see those minor differences. A simple example: You have two pixel and want to use the 2 lowest significant bits at each pixel of each color.
(3-colors * 2-bit) * 2-pixel = 12-bits
In an two pixel image with three colors and a use of 2 bits of each color, you can store 12-bits, so 1.5-byte in it. But usually you have bigger size picture Wink | ;-) , so you can store more data inside. For Example: 1024 x 768 pciture
(3-colors * 2-bit) * (1024 * 768)-pixel = (6 * 786432)-bits = 4718592-bits = 589824-byte = 576kb
So, in a normal wallpaper, you can store for example 576kb of data (that could be text or binary data). But take care of compression with data loose, like jpeg.
And remember, 3 colors is just an example, because it will just work if you use 24-bit color-depth images, but it is possible for other color depths too.

Marcel Erz

GeneralRe: Storing text information in an image Pin
Maqsood Ahmed13-Dec-05 20:20
Maqsood Ahmed13-Dec-05 20:20 
GeneralRe: Storing text information in an image Pin
MarcelErz13-Dec-05 21:14
MarcelErz13-Dec-05 21:14 
Questionwhat is the problem in the following code of classlibrary Project for log4net Pin
YogeshChoudhary12-Dec-05 19:04
YogeshChoudhary12-Dec-05 19:04 
Questionextracting substring Pin
Ankit Aneja12-Dec-05 18:57
Ankit Aneja12-Dec-05 18:57 
AnswerRe: extracting substring Pin
HakunaMatada12-Dec-05 19:33
HakunaMatada12-Dec-05 19:33 
GeneralRe: extracting substring Pin
Ankit Aneja12-Dec-05 19:47
Ankit Aneja12-Dec-05 19:47 
GeneralRe: extracting substring Pin
HakunaMatada12-Dec-05 20:15
HakunaMatada12-Dec-05 20:15 
GeneralRe: extracting substring Pin
Ankit Aneja12-Dec-05 20:27
Ankit Aneja12-Dec-05 20:27 
AnswerRe: extracting substring Pin
Anbuselvan12-Dec-05 20:19
Anbuselvan12-Dec-05 20:19 
GeneralRe: extracting substring Pin
Ankit Aneja12-Dec-05 20:27
Ankit Aneja12-Dec-05 20:27 
GeneralRe: extracting substring Pin
HakunaMatada12-Dec-05 20:31
HakunaMatada12-Dec-05 20:31 
QuestionRegarding calling Events of Internet Explorer Pin
A.Grover12-Dec-05 18:50
A.Grover12-Dec-05 18:50 
QuestionWindows Service Question. Pin
HakunaMatada12-Dec-05 18:30
HakunaMatada12-Dec-05 18:30 
AnswerRe: Windows Service Question. Pin
Ray Cassick12-Dec-05 18:48
Ray Cassick12-Dec-05 18:48 
GeneralRe: Windows Service Question. Pin
HakunaMatada12-Dec-05 20:22
HakunaMatada12-Dec-05 20:22 
GeneralRe: Windows Service Question. Pin
Scott Serl13-Dec-05 7:00
Scott Serl13-Dec-05 7:00 
GeneralRe: Windows Service Question. Pin
HakunaMatada13-Dec-05 17:07
HakunaMatada13-Dec-05 17:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.