-
Notifications
You must be signed in to change notification settings - Fork 90
/
index.html
308 lines (295 loc) · 8.58 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
Heic2any: Client-side conversion of HEIC/HEIF image files to JPEG,
PNG, or GIF in the browser.
</title>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<link href="./assets/style.min.css" rel="stylesheet" />
<style>
#demo-sample-files img {
height: 44px;
margin-left: 1px;
margin-top: 1px;
}
#error-on-try {
font-size: 13px;
background: #ffebee;
padding: 5px;
border: 1px solid red;
display: none;
}
</style>
</head>
<body>
<!-- Main navigation
=========================================== -->
<header class="navbar navbar-static-top bs-docs-nav" id="top">
<div class="container">
<div class="navbar-header" role="banner">
<button
class="navbar-toggle"
type="button"
data-toggle="collapse"
data-target=".bs-navbar-collapse"
>
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a
class="navbar-brand"
href="http://alexcorvi.github.io/heic2any/"
>Heic2any</a
>
</div>
<nav
class="collapse navbar-collapse bs-navbar-collapse"
role="navigation"
>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#demo">Demo</a>
</li>
<li>
<a href="https://github.com/alexcorvi/heic2any"
>View on GitHub</a
>
</li>
</ul>
</nav>
</div>
</header>
<!-- Header
=========================================== -->
<div
class="bs-docs-masthead"
id="content"
style="background: linear-gradient(135deg, #673ab7, #3f51b5);"
>
<div class="container">
<h1 class="home-title">Heic2any</h1>
<p class="lead" style="font-size: 18px; margin-top: 25px;">
Client-side (browser-side, using Javascript) conversion of
HEIC/HEIF image files to JPEG, PNG, or GIF.
</p>
<p class="lead">
<a
data-bootbox="download-popup"
data-bootbox-size="large"
class="btn btn-outline-inverse btn-lg"
>Download</a
>
</p>
</div>
</div>
<div id="download-popup" title="Download" class="hidden">
<div class="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-heading">Install with NPM</div>
<div class="panel-body">
<p>You can get this library via NPM or yarn</p>
<pre><code>$ npm i --save heic2any
$ yarn add heic2any</code></pre>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading">Download full version</div>
<div class="panel-body">
<p>Compiled version into single file.</p>
<a
href="https://raw.githubusercontent.com/alexcorvi/heic2any/master/dist/heic2any.js"
>Download</a
>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading">
Download minified version
</div>
<div class="panel-body">
<p>Compiled and minified version.</p>
<a
href="https://raw.githubusercontent.com/alexcorvi/heic2any/master/dist/heic2any.min.js"
>Download</a
>
</div>
</div>
</div>
</div>
</div>
<div class="container bs-docs-container">
<div class="row">
<div class="col-md-9" role="main">
<section class="bs-docs-section">
<h1 id="overview" class="page-header">
Overview
</h1>
<div id="overview-content"></div>
</section>
<section class="bs-docs-section">
<h1 id="demo" class="page-header">
Demo
</h1>
<div id="demo-content">
<div>
<h3 id="demo-basic">
Sample files
</h3>
<p>
Following files are converted to
<code>image/gif</code>
</p>
<hr />
<p id="loading">
<i>Loading... please wait</i>
</p>
<div id="demo-sample-files"></div>
<a
href="https://github.com/alexcorvi/heic2any/tree/master/demo"
>Source images</a
>
</div>
<hr />
<div>
<h3 id="try">Try it with your files</h3>
<input type="file" id="user-file" />
<p>
<i style="font-size: 13px;">
Result will be converted to
<code>gif</code> and downloaded to your
device once the conversion is done
</i>
</p>
<p>
<i
style="font-size: 13px;"
id="error-on-try"
></i>
</p>
</div>
</div>
</section>
<section class="bs-docs-section">
<h1 id="getting-started" class="page-header">
Getting started
</h1>
<div id="getting-started-content"></div>
</section>
<section class="bs-docs-section">
<h1 id="options" class="page-header">
Options
</h1>
<div id="options-content"></div>
</section>
<section class="bs-docs-section">
<h1 id="error-handling" class="page-header">
Error handling
</h1>
<div id="error-handling-content"></div>
</section>
<section class="bs-docs-section">
<h1 id="credits" class="page-header">
Credits
</h1>
<div id="credits-content"></div>
</section>
<section class="bs-docs-section">
<h1 id="license" class="page-header">
License
</h1>
<div id="license-content"></div>
</section>
</div>
<div class="col-md-3" role="complementary">
<div class="bs-docs-sidebar hidden-print">
<ul class="nav bs-docs-sidenav"></ul>
<a class="back-to-top" href="#top">Back to top</a>
</div>
</div>
</div>
</div>
<footer class="bs-docs-footer" role="contentinfo">
<div class="container">
<div class="bs-docs-social">
<ul class="bs-docs-social-buttons">
<li>
<iframe
class="github-btn"
src="//ghbtns.com/github-btn.html?user=alexcorvi&repo=heic2any&type=fork&count=true"
width="90"
height="20"
title="Fork on GitHub"
></iframe>
</li>
<li>
<iframe
class="github-btn"
src="//ghbtns.com/github-btn.html?user=alexcorvi&repo=heic2any&type=star&count=true"
width="90"
height="20"
title="Star on GitHub"
></iframe>
</li>
</ul>
</div>
<p>
Licensed under
<a href="http://opensource.org/licenses/MIT" target="_blank"
>MIT License</a
>
</p>
<p>
Documentation template by
<a href="http://getbootstrap.com">Bootstrap team</a>
</p>
<ul class="bs-docs-footer-links muted">
<li>·</li>
<li>
<a href="https://github.com/alexcorvi/heic2any"
>GitHub</a
>
</li>
<li>·</li>
<li>
<a
href="https://github.com/alexcorvi/heic2any/issues?state=open"
>Issues</a
>
</li>
</ul>
</div>
</footer>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.3.0/bootbox.min.js"></script>
<script
src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"
type="text/javascript"
></script>
<script type="text/javascript">
hljs.initHighlightingOnLoad();
</script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdn.githubraw.com/jmalarcon/ie-web-worker/master/worker.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.4/bluebird.min.js"></script>
<script src="./assets/script.js" type="text/javascript"></script>
<script src="./dist/heic2any.js" type="text/javascript"></script>
<script src="./assets/demo-user-file.js"></script>
<script src="./assets/demo-sample-files.js"></script>
<script type="text/javascript" src="./assets/load-md.js"></script>
</body>
</html>