본문으로 건너뛰기
사용자

flyant(비교)

r1542 vs r1543
11
{{{#!style
2
.num-button {width:100px;height:100px;border:1px solid red;background:#000}
3
.num-button-c {background:gray}
4
.num-align {margin:auto}
2
.num-button {display:inline-block;margin:5px;width:40px;height:40px;border:1px solid red;background:#000;cursor:pointer}
3
.num-button:active {background:gray}
4
.num-table {display:table;width:inherit;height:inherit}
5
.num-align {display:table-cell;text-align:center;vertical-align:middle}
56
}}}
7
68
{{{#!wiki class="num-button" onclick=""
7
}}}
9
{{{#!wiki class="num-table"
10
{{{#!wiki class="num-align"
11
1}}}}}}}}}
812
913
1014
1115
1216
1317
14
15
16
17
1818
1. 아스키 코드 32번 부터 126번 까지의 모든 문자를 코드 내에서 정의한다.
1919
2. 사용자가 입력한 텍스트를 전부 하나로 쪼개고 본 알고리즘 내에 정의된 아스키 코드대로 텍스트를 바이너리로 변환한다.
2020
3. 변환한 바이너리를 qr 코드에 넣기 전에 바이너리의 총 칸 수를 토대로 qr 코드 템플릿의 크기를 정하여 모든 바이너리가 들어가도록 맞춘다.
......