From 8b74dbb91bcc8f772c6910f2fbf8dfcc330c0127 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 b17f0c8..5226077 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -61,6 +61,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", } @@ -73,6 +87,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", } -- 2.39.5