Commit graph

163 commits

Author SHA1 Message Date
Andrey Golovizin
2450f7f002 Move _iter_lines() method from SubImage to Image. 2014-08-10 21:40:10 +02:00
Andrey Golovizin
0ae6f19e60 Make Image.unframe() return a new image, not a SubImage.
This is to make line and letter absolute positions relative to the page, not to the original framed image.
2014-08-10 21:39:41 +02:00
Andrey Golovizin
b5194ca018 Add image.SubImage, move page-related logic to page.* classes. 2014-08-09 13:53:37 +02:00
Andrey Golovizin
e3a68c3043 Add more classifiers to setup.py. 2014-08-09 00:24:08 +02:00
Andrey Golovizin
00590bd644 Add license information. 2014-08-09 00:23:52 +02:00
Andrey Golovizin
79769a7770 Add setup.py. 2014-08-08 23:09:40 +02:00
Andrey Golovizin
ee22008820 Strip vertical whitespace from letters. 2014-08-08 17:24:32 +02:00
Andrey Golovizin
81147f8a50 Reorder Letter, Line and Page classes to get dependencies right. 2014-08-08 17:01:27 +02:00
Andrey Golovizin
2012da7957 Clarify Image._iter_children() a little. 2014-08-08 17:00:14 +02:00
Andrey Golovizin
3d6c3de316 Add Page, Line and Letter classes. 2014-08-08 15:53:23 +02:00
Andrey Golovizin
bd86367606 Move _repr_png_ closer to the top. 2014-08-08 13:11:29 +02:00
Andrey Golovizin
c427d60030 Add docstrings. 2014-08-08 13:08:18 +02:00
Andrey Golovizin
b934788bc0 Initial commit. 2014-08-08 12:46:17 +02:00