Feat: use ration in one_centered

This commit is contained in:
2022-07-05 07:13:04 +02:00
parent 27e5c52548
commit 58edb87ebc
2 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,8 @@ photobook.set_auto_page_break(False)
photobook.set_fig_folder("textures")
photobook.one_centered("eugene.jpg", "one_centered default")
photobook.one_centered("eugene.jpg", "one_centered part_of_text=2", part_of_text=2)
photobook.one_centered("eugene.jpg", "")
photobook.one_centered("eugene.jpg", "one_centered text_ratio=1, img_ratio=1", text_ratio=1, img_ratio=1)
photobook.output(dest)