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
Christoph Wick
ocropy
Commits
cf672331
Commit
cf672331
authored
May 10, 2012
by
Tom
Browse files
--subrepos update for ubuntu 12.04
parent
92db6f51
Changes
1
Hide whitespace changes
Inline
Side-by-side
ocropus-genhtml
View file @
cf672331
...
...
@@ -73,7 +73,10 @@ os.chdir(args.book)
with
open
(
"index.html"
,
"w"
)
as
stream
:
for
d
in
sorted
(
glob
.
glob
(
"????"
))[:
args
.
npages
]:
genpage
(
d
)
image
=
imread
(
d
+
".png"
)
if
os
.
path
.
exists
(
d
+
".png"
):
image
=
imread
(
d
+
".png"
)
else
:
image
=
zeros
((
300
,
300
,
3
))
out
=
".__"
+
d
+
".png"
image
=
interpolation
.
zoom
(
image
,(
0.125
,
0.125
,
1
))
imsave
(
out
,
image
)
...
...
Write
Preview
Markdown
is supported
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