02c85a50ad
move closing code into its own function
c97ce34023
raise exception if border is larger than page size
81325d3998
fix page border computation (closes: #92)
8d2ae0f64e
fix reading from stdin
d29c596fe7
add support for MPO images (closes: #93)