-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·100 lines (96 loc) · 5.47 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
<!DOCTYPE html>
<html>
<head>
<title>Pics2Gif: Pics2Gif Converter</title>
<meta charset="UTF-8">
<meta http-quiv="X-UA-Compatible" content="IE=9" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Easily convert your pictures into GIF animations!">
<meta name="author" content="Michael Schwartz">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicon-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="favicon-512x512.png">
<link rel="stylesheet" href="libraries/animateCSS/animate.css">
<link rel="stylesheet" href="libraries/polyui/polyui.css">
<link rel="stylesheet" href="css/polyrise.css">
<link rel="stylesheet" href="libraries/font-awesome/font-awesome.css">
<link rel="stylesheet" href="libraries/alertifyjs/css/alertify.min.css">
<link rel="stylesheet" href="libraries/alertifyjs/css/themes/default.min.css">
<link rel="stylesheet" href="libraries/fancybox/css/core.css" />
<link rel="stylesheet" href="libraries/fancybox/css/fullscreen.css" />
<link rel="stylesheet" href="libraries/fancybox/css/slideshow.css" />
<link rel="stylesheet" href="libraries/fancybox/css/thumbs.css" />
<link rel="stylesheet" href="libraries/fancybox/css/jquery.fancybox.min.css" />
<link rel="stylesheet" href="css/style.css">
<meta property="og:url" content="https://michaelsboost.com/Pics2Gif" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Pics2Gif: Pics2Gif Converter" />
<meta property="og:description" content="Easily convert your pictures into GIF animations!" />
<meta property="og:image" content="https://raw.githubusercontent.com/michaelsboost/Pics2Gif/gh-pages/header.png" />
</head>
<body>
<div class="header polyriseblock notgrid w100p h100p" style="display: inline-table; padding: 1em;">
<div class="grid h100p">
<div class="grid__col--12 nomar h100p">
<div class="table">
<div class="cell">
<div class="panel--centered centered grid__col--12 tc">
<div id="showit" class="hide">
<img id="result" class="bounceInUp bounceInUp1s">
</div>
<div id="showprocess" class="hide">
<svg viewBox="0 0 600 150">
<text y="93.75" x="75" style="line-height:125%;" font-weight="400" font-size="80" font-family="Lato" letter-spacing="0" word-spacing="0" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<tspan>Creating GIF</tspan>
</text>
</svg>
</div>
<label for="openfile">
<h1 id="read" class="bounceInUp bounceInUp1s blacktxt pointer">
<i class="fa fa-upload"></i>
</h1>
</label>
<h2 id="scripttxt" class="bounceInUp bounceInUp1s blacktxt hide" style="font-size: 32px;">
Width of Image: <input id="animWidth" type="number" step="10" min="50" value="800" style="background: none; width: 150px; display: inline; padding: 0 0 0 15px; text-align: center;"><br>
Height of Image: <input id="animHeight" type="number" step="10" min="50" value="600" style="background: none; width: 150px; display: inline; padding: 0 0 0 15px; text-align: center;"><br>
Interval (seconds before next frame): <input id="animRate" type="number" step="0.01" min="0.01" value="0.04" style="background: none; width: 150px; display: inline; padding: 0 0 0 15px; text-align: center;">
</h2>
<p id="btns" class="hide" style="text-align: center;">
<a id="creategif" class="btn--blue bounceInUp bounceInUp1s pointer w100p">
Create Gif
</a>
<a id="exportgif" class="hide btn--success bounceInUp bounceInUp1s pointer w100p" download="download">
Export Gif
</a>
</p>
<div id="imgframes" class="bounceInUp bounceInUp1s"></div>
</div>
</div>
</div>
</div>
</div>
<div id="dropflash" class="hide"></div>
<!-- image dimensions -->
<div class="hide">
<img id="dimensions">
</div>
<!-- readsvg -->
<div class="hide">
<input id="openfile" type="file" multiple accept="image/png,image/x-png,image/jpeg,image/bmp,image/tiff">
</div>
<script src="libraries/alertifyjs/alertify.min.js"></script>
<script src="libraries/jquery/jquery.js"></script>
<script src="libraries/gifshot/gifshot.min.js"></script>
<script src="libraries/fancybox/js/core.js"></script>
<script src="libraries/fancybox/js/fullscreen.js"></script>
<script src="libraries/fancybox/js/guestures.js"></script>
<script src="libraries/fancybox/js/media.js"></script>
<script src="libraries/fancybox/js/slideshow.js"></script>
<script src="libraries/fancybox/js/thumbs.js"></script>
<script src="libraries/fancybox/js/jquery.fancybox.min.js"></script>
<script src="js/pics2gif.js"></script>
</body>
</html>