-
Notifications
You must be signed in to change notification settings - Fork 1
/
formats.php
324 lines (322 loc) · 9.8 KB
/
formats.php
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<?php
$pageFormats = array(
'10R' => array(254, 305),
'4P' => array(254, 305),
'11R' => array(279, 356),
'12R' => array(305, 381),
'12SHEET' => array(3048, 1524),
'16SHEET' => array(2032, 3048),
'2A0' => array(1189, 1682),
'32SHEET' => array(4064, 3048),
'3R' => array(89, 127),
'L' => array(89, 127),
'48SHEET' => array(6096, 3048),
'4A0' => array(1682, 2378),
'4D' => array(120, 152),
'4R' => array(102, 152),
'KG' => array(102, 152),
'4SHEET' => array(1016, 1524),
'5R' => array(127, 178),
'2L' => array(127, 178),
'64SHEET' => array(8128, 3048),
'6R' => array(152, 203),
'8P' => array(152, 203),
'6SHEET' => array(1200, 1800),
'8R' => array(203, 254),
'6P' => array(203, 254),
'96SHEET' => array(12192, 3048),
'A0' => array(841, 1189),
'A10' => array(26, 37),
'A11' => array(18, 26),
'A12' => array(13, 18),
'A1' => array(594, 841),
'A2' => array(420, 594),
'A2_EXTRA' => array(445, 619),
'A3' => array(297, 420),
'A3+' => array(329, 483),
'A3_EXTRA' => array(322, 445),
'A3_SUPER' => array(305, 508),
'A4' => array(210, 297),
'A4_EXTRA' => array(235, 322),
'A4_LONG' => array(210, 348),
'A4_SUPER' => array(229, 322),
'A5' => array(148, 210),
'A5_EXTRA' => array(173, 235),
'A6' => array(105, 148),
'A7' => array(74, 105),
'A8' => array(52, 74),
'A9' => array(37, 52),
'ANNENV_A10' => array(159, 244),
'ANNENV_A2' => array(111, 146),
'ANNENV_A6' => array(121, 165),
'ANNENV_A7' => array(133, 184),
'ANNENV_A8' => array(140, 206),
'ANNENV_SLIM' => array(98, 225),
'ANSI_A' => array(216, 279),
'ANSI_B' => array(279, 432),
'ANSI_C' => array(432, 559),
'ANSI_D' => array(559, 864),
'ANSI_E' => array(864, 1118),
'ARCH_A' => array(229, 305),
'ARCH_B' => array(305, 457),
'ARCH_C' => array(457, 610),
'BROADSHEET' => array(457, 610),
'ARCH_D' => array(610, 914),
'ARCH_E1' => array(762, 1067),
'ARCH_E' => array(914, 1219),
'B0' => array(1000, 1414),
'B10' => array(31, 44),
'B11' => array(22, 31),
'B12' => array(15, 22),
'B1' => array(707, 1000),
'B2' => array(500, 707),
'B3' => array(353, 500),
'B4' => array(250, 353),
'B5' => array(176, 250),
'B6' => array(125, 176),
'B7' => array(88, 125),
'B8' => array(62, 88),
'B9' => array(44, 62),
'BE_COLOMBIER' => array(620, 850),
'BE_COQUILLE' => array(430, 560),
'BE_DOUBLE_CARRE' => array(620, 920),
'BE_DOUBLE_POSTE' => array(435, 565),
'BE_ELEPHANT' => array(616, 770),
'BE_GRAND_AIGLE' => array(700, 1040),
'BE_GRAND_JESUS' => array(550, 730),
'BE_GRAND_MEDIAN' => array(460, 605),
'BE_JESUS' => array(540, 730),
'BE_LYS' => array(317, 397),
'BE_PETIT_AIGLE' => array(600, 840),
'BE_PETIT_MEDIAN' => array(415, 530),
'BE_POT' => array(307, 384),
'BE_PROPATRIA' => array(345, 430),
'BE_RAISIN' => array(500, 650),
'BE_ROSETTE' => array(270, 347),
'BE_RUCHE' => array(360, 460),
'BUSINESS_CARD_AU' => array(55, 90),
'BUSINESS_CARD_DK' => array(55, 90),
'BUSINESS_CARD_SE' => array(55, 90),
'BUSINESS_CARD_HK' => array(54, 90),
'BUSINESS_CARD_ISO216' => array(52, 74),
'BUSINESS_CARD_IT' => array(55, 85),
'BUSINESS_CARD_UK' => array(55, 85),
'BUSINESS_CARD_FR' => array(55, 85),
'BUSINESS_CARD_DE' => array(55, 85),
'BUSINESS_CARD_ES' => array(55, 85),
'BUSINESS_CARD_JP' => array(55, 91),
'BUSINESS_CARD_RU' => array(50, 90),
'BUSINESS_CARD_CZ' => array(50, 90),
'BUSINESS_CARD_FI' => array(50, 90),
'BUSINESS_CARD_HU' => array(50, 90),
'BUSINESS_CARD_IL' => array(50, 90),
'BUSINESS_CARD_US' => array(51, 89),
'BUSINESS_CARD_CA' => array(51, 89),
'C0' => array(917, 1297),
'C10' => array(28, 40),
'C11' => array(20, 28),
'C12' => array(14, 20),
'C1' => array(648, 917),
'C2' => array(458, 648),
'C3' => array(324, 458),
'C4' => array(229, 324),
'C5' => array(162, 229),
'C6' => array(114, 162),
'C76' => array(81, 162),
'C7' => array(81, 114),
'C8' => array(57, 81),
'C9' => array(40, 57),
'CATENV_N10_1/2' => array(229, 305),
'CATENV_N1' => array(152, 229),
'CATENV_N12_1/2' => array(241, 318),
'CATENV_N13_1/2' => array(254, 330),
'CATENV_N1_3/4' => array(165, 241),
'CATENV_N14_1/2' => array(292, 368),
'CATENV_N14_1/4' => array(286, 311),
'CATENV_N2' => array(165, 254),
'CATENV_N3' => array(178, 254),
'CATENV_N6' => array(191, 267),
'CATENV_N7' => array(203, 279),
'CATENV_N8' => array(210, 286),
'CATENV_N9_1/2' => array(216, 267),
'CATENV_N9_3/4' => array(222, 286),
'COMMENV_N10' => array(105, 241),
'COMMENV_N11' => array(114, 263),
'COMMENV_N12' => array(121, 279),
'COMMENV_N14' => array(127, 292),
'COMMENV_N6_1/4' => array(89, 152),
'COMMENV_N6_3/4' => array(92, 165),
'COMMENV_N8' => array(98, 191),
'COMMENV_N9' => array(98, 225),
'COMPACT' => array(108, 171),
'CREDIT_CARD' => array(54, 86),
'BUSINESS_CARD' => array(54, 86),
'BUSINESS_CARD_ISO7810' => array(54, 86),
'DL' => array(110, 220),
'E0' => array(879, 1241),
'E10' => array(27, 39),
'E11' => array(19, 27),
'E12' => array(13, 19),
'E1' => array(620, 879),
'E2' => array(440, 620),
'E3' => array(310, 440),
'E4' => array(220, 310),
'E5' => array(155, 220),
'E6' => array(110, 155),
'E7' => array(78, 110),
'E' => array(82, 120),
'E8' => array(55, 78),
'E9' => array(39, 55),
'EN_ANTIQUARIAN' => array(787, 1346),
'EN_ATLAS' => array(660, 864),
'EN_BRIEF' => array(343, 406),
'EN_CARTRIDGE' => array(533, 660),
'EN_COLOMBIER' => array(597, 876),
'EN_COPY_DRAUGHT' => array(406, 508),
'EN_CROWN' => array(381, 508),
'EN_DEMY' => array(445, 572),
'EN_DOUBLE_DEMY' => array(572, 902),
'EN_DOUBLE_ELEPHANT' => array(679, 1016),
'EN_DOUBLE_LARGE_POST' => array(533, 838),
'EN_DOUBLE_POST' => array(483, 775),
'EN_ELEPHANT' => array(584, 711),
'EN_EMPEROR' => array(1219, 1829),
'EN_FOOLSCAP' => array(343, 432),
'EN_GRAND_EAGLE' => array(730, 1067),
'EN_IMPERIAL' => array(559, 762),
'EN_LARGE_POST' => array(419, 533),
'EN_MEDIUM' => array(445, 584),
'EN_PINCHED_POST' => array(375, 470),
'EN_POST' => array(394, 489),
'EN_POTT' => array(318, 381),
'EN_PRINCESS' => array(546, 711),
'EN_ROYAL' => array(508, 635),
'EN_SHEET' => array(495, 597),
'EN_HALF_POST' => array(495, 597),
'EN_SMALL_FOOLSCAP' => array(337, 419),
'EN_SUPER_ROYAL' => array(483, 686),
'EXECUTIVE' => array(184, 267),
'MONARCH' => array(184, 267),
'F4' => array(210, 330),
'FOLIO' => array(216, 330),
'GOVERNMENTLEGAL' => array(216, 330),
'FOOLSCAP' => array(210, 330),
'FR_CARRE' => array(450, 560),
'FR_CAVALIER' => array(460, 620),
'FR_CLOCHE' => array(600, 800),
'FR_COLOMBIER_AFFICHE' => array(630, 900),
'FR_COQUILLE' => array(440, 560),
'FR_COURONNE' => array(360, 460),
'FR_DOUBLE_CARRE' => array(560, 900),
'FR_DOUBLE_CAVALIER' => array(620, 920),
'FR_DOUBLE_CLOCHE' => array(400, 600),
'FR_DOUBLE_COLOMBIER' => array(900, 1260),
'FR_DOUBLE_COQUILLE' => array(560, 880),
'FR_DOUBLE_COURONNE' => array(460, 720),
'FR_DOUBLE_JESUS' => array(760, 1120),
'FR_DOUBLE_POT' => array(400, 620),
'FR_DOUBLE_RAISIN' => array(650, 1000),
'FR_DOUBLE_SOLEIL' => array(800, 1200),
'FR_DOUBLE_TELLIERE' => array(440, 680),
'FR_ECU' => array(400, 520),
'FR_GRAND_AIGLE' => array(750, 1060),
'FR_GRANDE_MONDE' => array(900, 1260),
'FR_JESUS' => array(560, 760),
'FR_JOURNAL' => array(650, 940),
'FR_PETIT_AIGLE' => array(700, 940),
'FR_POT' => array(310, 400),
'FR_RAISIN' => array(500, 650),
'FR_SOLEIL' => array(600, 800),
'FR_TELLIERE' => array(340, 440),
'FR_UNIVERS' => array(1000, 1300),
'G0' => array(958, 1354),
'G10' => array(29, 42),
'G11' => array(21, 29),
'G12' => array(14, 21),
'G1' => array(677, 958),
'G2' => array(479, 677),
'G3' => array(338, 479),
'G4' => array(239, 338),
'G5' => array(169, 239),
'G6' => array(119, 169),
'G7' => array(84, 119),
'G8' => array(59, 84),
'G9' => array(42, 59),
'GLETTER' => array(203, 267),
'GOVERNMENTLETTER' => array(203, 267),
'JIS_B0' => array(1030, 1456),
'JIS_B10' => array(32, 45),
'JIS_B11' => array(22, 32),
'JIS_B12' => array(16, 22),
'JIS_B1' => array(728, 1030),
'JIS_B2' => array(515, 728),
'JIS_B3' => array(364, 515),
'JIS_B4' => array(257, 364),
'JIS_B5' => array(182, 257),
'JIS_B6' => array(128, 182),
'JIS_B7' => array(91, 128),
'JIS_B8' => array(64, 91),
'JIS_B9' => array(45, 64),
'JLEGAL' => array(203, 127),
'JUNIORLEGAL' => array(203, 127),
'LEDGER' => array(432, 279),
'USLEDGER' => array(432, 279),
'LEGAL' => array(216, 356),
'USLEGAL' => array(216, 356),
'LETTER' => array(216, 279),
'USLETTER' => array(216, 279),
'ORGANIZERM' => array(216, 279),
'MEMO' => array(140, 216),
'STATEMENT' => array(140, 216),
'ORGANIZERL' => array(140, 216),
'NEWSPAPER_BERLINER' => array(470, 315),
'NEWSPAPER_BROADSHEET' => array(750, 600),
'NEWSPAPER_COMPACT' => array(430, 280),
'NEWSPAPER_TABLOID' => array(430, 280),
'ORGANIZERJ' => array(70, 127),
'P1' => array(560, 860),
'P2' => array(430, 560),
'P3' => array(280, 430),
'P4' => array(215, 280),
'P5' => array(140, 215),
'P6' => array(107, 140),
'PA0' => array(840, 1120),
'PA10' => array(26, 35),
'PA1' => array(560, 840),
'PA2' => array(420, 560),
'PA3' => array(280, 420),
'PA4' => array(210, 280),
'PA5' => array(140, 210),
'PA6' => array(105, 140),
'PA7' => array(70, 105),
'PA8' => array(52, 70),
'PA9' => array(35, 52),
'PASSPORT_PHOTO' => array(35, 45),
'QUADDEMY' => array(889, 1143),
'QUARTO' => array(229, 279),
'RA0' => array(860, 1220),
'RA1' => array(610, 860),
'RA2' => array(430, 610),
'RA3' => array(305, 430),
'RA4' => array(215, 305),
'S10R' => array(254, 381),
'4PW' => array(254, 381),
'S11R' => array(279, 432),
'S12R' => array(305, 456),
'S8R' => array(203, 305),
'6PW' => array(203, 305),
'SO_B5_EXTRA' => array(202, 276),
'SRA0' => array(900, 1280),
'SRA1' => array(640, 900),
'SRA2' => array(450, 640),
'SRA3' => array(320, 450),
'SRA4' => array(225, 320),
'SUPER_A3' => array(305, 487),
'SUPER_A4' => array(227, 356),
'SUPER_B' => array(330, 483),
'TABLOID' => array(279, 432),
'USTABLOID' => array(279, 432),
'BIBLE' => array(279, 432),
'ORGANIZERK' => array(279, 432),
);
?>