forked from bitbegin/qrcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-2.red
36 lines (29 loc) · 1.13 KB
/
example-2.red
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Red []
#include %qrcode.red
cloak: load %cloak.jpg
start: now/time/precise
test-image: qrcode-lib/encode/correctLevel/version/image/contrast "bitcoin:n4d8tkDrhF7PcDTPSuUckT927GHonewV7T" 3 1 cloak 1.2
end: now/time/precise
print [start end]
view [image test-image]
cloak: load %o_fun.jpg
start: now/time/precise
test-image: qrcode-lib/encode/correctLevel/version/image "bitcoin:n4d8tkDrhF7PcDTPSuUckT927GHonewV7T" 3 1 cloak
end: now/time/precise
print [start end]
view [image test-image]
start: now/time/precise
test-image: qrcode-lib/encode/correctLevel/version/image/scale "bitcoin:n4d8tkDrhF7PcDTPSuUckT927GHonewV7T" 3 1 cloak 4
end: now/time/precise
print [start end]
view [image test-image]
start: now/time/precise
test-image: qrcode-lib/encode/correctLevel/version/image/contrast/brightness/scale "bitcoin:n4d8tkDrhF7PcDTPSuUckT927GHonewV7T" 3 1 cloak 1.2 -20 5
end: now/time/precise
print [start end]
view [image test-image]
start: now/time/precise
test-image: qrcode-lib/encode/correctLevel/version/image/monochrome/scale "bitcoin:n4d8tkDrhF7PcDTPSuUckT927GHonewV7T" 3 1 cloak 5
end: now/time/precise
print [start end]
view [image test-image]