summaryrefslogtreecommitdiff
path: root/src/main/python/utils/sizes.py
blob: f1a56b3e9393fed55a13b11db41ed56f029afb73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
paperSizes = {
    "A0": {
        "72": {2384, 3370},
        "96": {3179, 4494},
        "150": {4967, 7022},
        "300": {9933, 14043}
    },
    "A1": {
        "72": {1684, 2384},
        "96": {2245, 3179},
        "150": {3508, 4967},
        "300": {7016, 9933}
    },
    "A2": {
        "72": {1191, 1684},
        "96": {1587, 2245},
        "150": {2480, 3508},
        "300": {4960, 7016}
    },
    "A3": {
        "72": {842, 1191},
        "96": {1123, 1587},
        "150": {1754, 2480},
        "300": {3508, 4960}
    },
    "A4": {
        "72": {595, 842},
        "96": {794, 1123},
        "150": {1240, 1754},
        "300": {2480, 3508}
    }
}

sheetDimensionList = paperSizes.keys()
ppiList = ["72", "96", "150", "300"]