From 5045282cc2b467bb8575f4df452d40428afc055b Mon Sep 17 00:00:00 2001 From: homocomputeris Date: Wed, 30 Mar 2022 23:47:40 +0300 Subject: [PATCH] Add B and JB paper sizes --- src/img2pdf.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/img2pdf.py b/src/img2pdf.py index 803c526..1880d8f 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -71,6 +71,20 @@ papersizes = { "a4": "210mmx297mm", "a5": "148mmx210mm", "a6": "105mmx148mm", + "b0": "1000mmx1414mm", + "b1": "707mmx1000mm", + "b2": "500mmx707mm", + "b3": "353mmx500mm", + "b4": "250mmx353mm", + "b5": "176mmx250mm", + "b6": "125mmx176mm", + "jb0": "1030mmx1456mm", + "jb1": "728mmx1030mm", + "jb2": "515mmx728mm", + "jb3": "364mmx515mm", + "jb4": "257mmx364mm", + "jb5": "182mmx257mm", + "jb6": "128mmx182mm", "legal": "8.5inx14in", "tabloid": "11inx17in", } @@ -83,6 +97,20 @@ papernames = { "a4": "A4", "a5": "A5", "a6": "A6", + "b0": "B0", + "b1": "B1", + "b2": "B2", + "b3": "B3", + "b4": "B4", + "b5": "B5", + "b6": "B6", + "jb0": "JB0", + "jb1": "JB1", + "jb2": "JB2", + "jb3": "JB3", + "jb4": "JB4", + "jb5": "JB5", + "jb6": "JB6", "legal": "Legal", "tabloid": "Tabloid", }