microsoft / genalog

Genalog is an open source, cross-platform python package allowing generation of synthetic document images with custom degradations and text alignment capabilities.
https://microsoft.github.io/genalog/
MIT License
310 stars 32 forks source link

Access different pages if content is across multiple pages #52

Open hummingbird1989 opened 2 years ago

hummingbird1989 commented 2 years ago

If my content is more than a page long, what does doc.render_png() return? Looking at the source code, it seems to return it per page. How can I access the different pages programmatically to degrade them?