Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nathan/Eilisha Shiraini
colorcode
Commits
07aaf000
Commit
07aaf000
authored
Sep 20, 2018
by
Nathan/Eilisha Shiraini
Browse files
Modified test script
parent
a3dea639
Changes
1
Hide whitespace changes
Inline
Side-by-side
colorcode/__init__.py
View file @
07aaf000
...
...
@@ -59,6 +59,6 @@ def _test():
data
=
BUILDERS
[
'aztec'
][
'builder'
](
text
).
encode
()
with
open
(
fname
+
'.txt'
,
'wt'
)
as
f
:
f
.
write
(
str
(
data
))
imager
=
imgen
.
draw
.
ImGenerator
([
data
],
imgen
.
interpolate
.
BWInterpolate
.
SINGLE
,
'1'
,
1
,
1
)
imager
=
imgen
.
draw
.
ImGenerator
([
data
],
imgen
.
interpolate
.
BWInterpolate
.
SINGLE
,
'1'
,
1
6
,
4
)
imager
.
drawCode
()
imager
.
saveImage
(
fname
+
'.png'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment