forked from tomayac/SVGcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
226 lines (220 loc) · 7.8 KB
/
index.html
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
<!doctype html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name="description"
content="Convert color or monochrome bitmap images (PNG, JPG, JPEG, WEBP, AVIF, GIF,…) to color or monochrome vector images (SVG)."
/>
<meta name="theme-color" content="#131313" />
<meta name="color-scheme" content="dark light" />
<meta
name="description"
content="SVGcode is a Progressive Web App that lets you convert raster images like JPG, PNG, GIF, WebP, AVIF, etc. to vector graphics in SVG format."
/>
<meta property="og:title" content="SVGcode" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://svgco.de/" />
<meta
property="og:image"
content="https://svgco.de/screenshots/desktop-dark.png"
/>
<meta
property="og:description"
content="SVGcode is a Progressive Web App that lets you convert raster images like JPG, PNG, GIF, WebP, AVIF, etc. to vector graphics in SVG format."
/>
<meta name="monetization" content="$ilp.gatehub.net/348218105" />
<!-- (Chrome) Web App Dark Mode -->
<meta
http-equiv="origin-trial"
content="AhLXeDFYJ0yF4e0It5evBIxgcWJDxcRzIK7mRSwEdWTv0CwetrQZHJHKe5j3WLcf1lZYkzKJZtW+88rSA4yzZAYAAABQeyJvcmlnaW4iOiJodHRwczovL3N2Z2NvLmRlOjQ0MyIsImZlYXR1cmUiOiJXZWJBcHBEYXJrTW9kZSIsImV4cGlyeSI6MTY3NTgxNDM5OX0="
/>
<!-- (Chrome) Web App Dark Mode v2 -->
<meta
http-equiv="origin-trial"
content="AszAyNxfEENEzLjioa9hIxoDYUte+uiWWUhEZWXlvAZhSf4Tk7X5CjUinKSJ4xS56euPn8EChrxIB8A8orvt8g4AAABSeyJvcmlnaW4iOiJodHRwczovL3N2Z2NvLmRlOjQ0MyIsImZlYXR1cmUiOiJXZWJBcHBEYXJrTW9kZVYyIiwiZXhwaXJ5IjoxNjkxNTM5MTk5fQ=="
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@ChromiumDev" />
<meta name="twitter:creator" content="@tomayac" />
<meta name="twitter:title" content="SVGcode" />
<meta
name="twitter:description"
content="SVGcode is a Progressive Web App that lets you convert raster images like JPG, PNG, GIF, WebP, AVIF, etc. to vector graphics in SVG format."
/>
<meta
name="twitter:image"
content="https://svgco.de/screenshots/desktop-dark.png"
/>
<title>SVGcode—Convert raster images to SVG vector graphics</title>
<link rel="stylesheet" href="/src/css/style.css" />
<link
rel="stylesheet"
href="/src/css/dark.css"
media="(prefers-color-scheme: dark)"
/>
<link
rel="stylesheet"
href="/src/css/light.css"
media="(prefers-color-scheme: light)"
/>
<link rel="icon" type="image/svg" href="/favicon.svg" />
<link rel="canonical" href="https://svgco.de/" />
<link rel="apple-touch-icon" href="/favicon.png" />
<script src="/src/js/main.js" type="module"></script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "SVGcode",
"applicationCategory": "DesignApplication, BrowserApplication, MultimediaApplication, UtilitiesApplication",
"screenshot": "https://svgco.de/screenshots/desktop-dark.png",
"author": {
"@type": "Person",
"name": "Thomas Steiner",
"email": "steiner.thomas@gmail.com",
"image": "https://blog.tomayac.com/static/icon.png"
},
"offers": {
"@type": "Offer",
"price": "0"
},
"publisher": {
"@type": "Organization",
"name": "Blogccasion",
"email": "steiner.thomas@gmail.com",
"logo": {
"@type": "ImageObject",
"url": "https://blog.tomayac.com/static/icon.png"
}
}
}
</script>
<base target="_blank" />
</head>
<body>
<main>
<details class="main">
<summary></summary>
<button type="button" class="with-bg close-options-button">
<span aria-hidden="true">✕</span>
</button>
<div class="sidebar">
<form>
<div class="preprocess">
<div class="other-input">
<input
id="color"
type="radio"
class="color"
name="output-option"
checked
/>
<label for="color"></label>
</div>
<div class="other-input">
<input
id="monochrome"
type="radio"
class="monochrome"
name="output-option"
/>
<label for="monochrome"></label>
</div>
<div class="other-input">
<input id="consider-dpr" type="checkbox" class="consider-dpr" />
<label for="consider-dpr"></label>
</div>
<div class="other-input advanced">
<input
id="optimize-curves"
type="checkbox"
class="optimize-curves"
checked
/>
<label for="optimize-curves"></label>
</div>
<div class="other-input">
<input
id="posterize"
type="checkbox"
class="posterize"
checked
/>
<label for="posterize"></label>
</div>
<div class="other-input">
<input
id="show-advanced"
type="checkbox"
class="show-advanced"
/>
<label for="show-advanced"></label>
</div>
<div class="details"></div>
<div class="other-input">
<button type="button" class="reset-all"></button>
</div>
</div>
</form>
<ul class="link-list">
<li>
<a href="https://github.com/tomayac/SVGcode">GitHub</a>
</li>
<li>
<a c href="https://twitter.com/ChromiumDev">Twitter</a>
</li>
<li>
<a class="about" href="https://web.dev/svgcode/"></a>
</li>
<li>
<a
class="license"
href="https://github.com/tomayac/SVGcode/blob/main/LICENSE"
></a>
</li>
</ul>
<dark-mode-toggle
permanent
dark="Light Theme"
light="Dark Theme"
></dark-mode-toggle>
<select class="language"></select>
</div>
</details>
<div class="main-area">
<div class="menu">
<button class="open menu" type="button"></button>
<button class="save menu" type="button"></button>
<button class="copy menu" type="button"></button>
<button class="paste menu" type="button"></button>
<button class="share menu" type="button"></button>
<button class="install menu" type="button"></button>
<progress hidden value="0" max="100"></progress>
<label hidden><input class="debug" type="checkbox" /> Debug</label>
</div>
<img
class="input-image"
crossorigin="anonymous"
src="/favicon.png"
alt=""
draggable="false"
/>
<canvas></canvas>
<div dir="ltr" class="pinch-zoom-wrapper">
<pinch-zoom class="checkerboard">
<div></div>
</pinch-zoom>
<svg version="1.0" xmlns="http://www.w3.org/2000/svg">
<g class="svg-output"></g>
</svg>
</div>
<div class="toast" hidden></div>
</div>
</main>
</body>
</html>