Bladeren bron

README-en.md edited online with Bitbucket

Jose R Ortiz Ubarri 8 jaren geleden
bovenliggende
commit
06ef6c789e
1 gewijzigde bestanden met toevoegingen van 2 en 6 verwijderingen
  1. 2
    6
      README-en.md

+ 2
- 6
README-en.md Bestand weergeven

@@ -155,17 +155,13 @@ Assume that each square is a pixel of the image.
155 155
 
156 156
 The first step would be to obtain the ASCII representation of the message. The bits of the ASCII representation are the bits we will encode into the colors of the pixels. The ASCII representation of `Dog` is:
157 157
 
158
-```
159
-"Dog"  = 01000100 01101111 01100111
160
-```
158
+`"Dog"  = 01000100 01101111 01100111`
161 159
 
162 160
 The code `0100 0100` corresponds to the `D`, and so forth.
163 161
 
164 162
 The encoding procedure it is easier to understand if we separate the bits into groups of three (one bit for each RGB component):
165 163
 
166
-```
167
-"Dog"  = 010 001 000 110 111 101 100 111
168
-```
164
+`"Dog"  = 010 001 000 110 111 101 100 111`
169 165
 
170 166
 Next, we start traversing the image pixel by pixel, embedding in each pixel three bits from the ASCII code (one bit in each pixel's color component). For instance, we would embed `010` in the first pixel, `001` in the second, and so forth.
171 167