-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformats.ts
67 lines (66 loc) · 1.11 KB
/
formats.ts
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
export interface FormatObject {
id: string;
name: string;
ratio: string;
width: number;
height: number;
scalingFactor: number;
}
export const formats = [
{
id: "instagram-1-1",
name: "Instagram (1:1)",
width: 540,
height: 540,
scalingFactor: 1,
},
{
id: "instagram-4-5",
name: "Instagram (4:5)",
width: 540,
height: 675,
scalingFactor: 1,
},
{
id: "twitter-16-9",
name: "Twitter, 1 Bild (16:9)",
width: 600,
height: 337.5,
scalingFactor: 0.85,
},
{
id: "twitter-7-8",
name: "Twitter, 2 Bilder (7:8)",
width: 600,
height: 685.7,
scalingFactor: 1,
},
{
id: "twitter-2-1",
name: "Twitter, 4 Bilder (16:9)",
width: 600,
height: 337.5,
scalingFactor: 0.85,
},
{
id: "facebook",
name: "Facebook (1.9:1)",
width: 600,
height: 315,
scalingFactor: 0.85,
},
{
id: "br24",
name: "BR24-Artikel (16:9)",
width: 800,
height: 450,
scalingFactor: 1,
},
{
id: "hd-tv",
name: "HD-Fernsehen (16:9)",
width: 960,
height: 540,
scalingFactor: 1,
},
];