Basic Examples
Basic Examples
In this simplest example, a message is hidden in only one channel of the image:
In[]:=
message1=
,{"Code: 11874"}
Out[]=
To reveal the hidden message through a photo containing a secret message, just use the function with the target image as an argument:
In[]:=
Out[]=
Another simple example, hiding two messages on different channels of the photo:
In[]:=
message2=
,{"The guilty are:","Carl, John and Sara"};
Reveal the messages:
In[]:=
Out[]=
Hide three secret messages added to the photo on the three possible channels:
In[]:=
message3=
,{"The plan is","going to start","at 20:45pm today"};
Now show them:
In[]:=
Out[]=
Scope
Scope
One can choose in which image channel the simple message will be hidden:
In[]:=
cesium=
,{1},{"CESIUM"}
Out[]=
In[]:=
Out[]=
,
,
One can choose the two channels from the three image channels in which two messages will be hidden:
In[]:=
fifthstreet=
,{2,3},{"It´s on","5th street"};
In[]:=
Out[]=
Options
Options
The options , and can improve how well a message is hidden, or make it easier to read the revealed message.
"Opacity"
"TextSize"
"TextFont"
The reduced text size in this example favors a longer message and helps it hide better in the photo:
In[]:=
treasuremap=
,{"steps to the cave treasure:","first go right for 3 miles,","than three left turns, finally head to the bottom"},"Opacity"0.55,"TextSize"10
Out[]=
In[]:=
Out[]=
Hide a message in an image with high opacity:
Some fonts make it difficult to recover the secret message:
Low opacity in all channels can be useful on relatively dark images:
Possible Issues
Possible Issues
Neat Examples
Neat Examples
Use a font adapted to the texture in the less bright channels:
Use large letters with more striking fonts:
Use a small text size and handmade font :