forked from AryanVBW/Exif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
248 lines (232 loc) · 6.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Exif Images Edition</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: rgb(255, 255, 255);
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
max-width: 800px;
background: #c7b8b8;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
position: relative;
}
.logo {
display: block;
margin: 0 auto;
max-height: 200px;
border-radius: 50%;
box-shadow: 0px 0px 15px rgba(60, 198, 129, 0.5);
}
h2, h3 {
text-align: center;
color: #446d15;
font-weight: bold;
margin-bottom: 10px;
}
hr {
border: none;
border-top: 2px solid #7e7c7c;
margin: 20px 0;
}
ul, ol {
margin-left: 20px;
padding-left: 10px;
color:white
}
ul li, ol li {
color:white;
margin-bottom: 8px;
}
.code-block {
position: relative;
background-color: whitesmoke;
padding: 10px;
border-radius: 8px;
margin-bottom: 20px;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
background-color: #8795a3;
color: #000000;
border: none;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.copy-btn.copied {
background-color: #c4ccc6;
}
.copy-btn.copied::after {
content: "Copied";
}
.copy-btn:hover {
background-color: #000000;
}
.center {
text-align: center;
margin-top: 20px;
}
.animated-text {
font-size: 24px;
font-weight: bold;
animation: color-change 5s infinite alternate;
margin-top: 20px;
display: block;
}
@keyframes color-change {
0% {
color: #007bff;
}
100% {
color: #ff6347;
}
}
.floating-image {
position: fixed;
bottom: 20px;
right: 20px;
width: 100px;
height: 100px;
background-color: #f8f8f8;
border-radius: 50%;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
overflow: hidden;
}
.floating-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
@media (max-width: 600px) {
.container {
padding: 15px;
}
.logo {
max-height: 150px;
}
.animated-text {
font-size: 20px;
}
}
</style>
</head>
<body>
<div class="container">
<p class="center">
<img class="logo" src="https://github.com/AryanVBW/Exif/releases/download/Exif/ExIF-Logo_BackgroundWhite.png" alt="Exif Logo">
<span class="animated-text">Exif-Images Edition</span>
</p>
<hr>
<h2>Features</h2>
<hr>
<ul>
<li>Extract exif data of images (jpg, jpeg, png).</li>
<li>Clear exif data from images.</li>
<li>Save data in a text file.</li>
</ul>
<h2>Supported Formats</h2>
<hr>
<ul>
<li>Images: PNG, JPG, JPEG, GIF, BMP, TIFF</li>
<li>Videos: MP4, MKV, AVI, MOV</li>
<li>Audio: MP3 (limited support, additional library may be required)</li>
</ul>
<h2>Installation and Usage Instructions</h2>
<hr>
<ol>
<li>Add .jpg to subfolder ./images from where the script is stored.</li>
<li>Note: Most social media sites strip exif data from uploaded photos.</li>
</ol>
<h3>Prerequisites</h3>
<hr>
<li>Install Python3</li>
<ul>
<li>Debian, Ubuntu, Etc: <code>sudo apt-get install python3</code></li>
<li>Fedora, Oracle, Red Hat, etc: <code>su -c "yum install python"</code></li>
<li>Windows: <a href="https://www.python.org/downloads/windows/">Python for Windows</a></li>
</ul>
</li>
<li>Install Pillow (Pillow will not work if you have PIL installed):
<pre><code>python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow
pip install Pillow moviepy
pip install eyed3</code></pre>
</li>
<h2>Installation</h2>
<hr>
<h3>Copy & paste the following commands:</h3>
<div class="code-block">
<button class="copy-btn" onclick="copyToClipboard('#install-commands')">Copy</button>
<pre id="install-commands"><code>git clone https://github.com/AryanVBW/Exif.git
cd Exif
python3 exif-main.py</code></pre>
</div>
<h3>To remove exif data from images, use the following command:</h3>
<div class="code-block">
<button class="copy-btn" onclick="copyToClipboard('#remove-exif-commands')">Copy</button>
<pre id="remove-exif-commands"><code>python3 remove-exif.py</code></pre>
</div>
<h2>📸🎥🔍 Direct Use</h2>
<hr>
<p>Discover the hidden details in your media files effortlessly! Simply run this script and:</p>
<ul>
<li>🌐 Enter the path to your images, videos, or audio files.</li>
<li>💾 Choose where to save the extracted Exif data.</li>
</ul>
<p>Unearth the metadata magic with style!</p>
<h3>Copy and paste this:</h3>
<div class="code-block">
<button class="copy-btn" onclick="copyToClipboard('#direct-use-commands')">Copy</button>
<pre id="direct-use-commands"><code>git clone https://github.com/AryanVBW/Exif.git
cd Exif
python3 exif-raw.py</code></pre>
</div>
<h3>Use these commands to print jpg output directly on terminal or PowerShell:</h3>
<div class="code-block">
<button class="copy-btn" onclick="copyToClipboard('#print-jpg-commands')">Copy</button>
<pre id="print-jpg-commands"><code>git clone https://github.com/AryanVBW/Exif.git
cd Exif
python3 exif.py</code></pre>
</div>
<p class="center">
Visitor count<br>
<img src="https://profile-counter.glitch.me/Aryanvbw/count.svg" />
</p>
</div>
<!-- Floating image -->
<div class="floating-image">
<img src="https://github.com/AryanVBW/Exif/releases/download/Exif/ExIF-Logo_BackgroundWhite.png" alt="Floating Logo">
</div>
<script>
function copyToClipboard(elementId) {
var copyText = document.querySelector(elementId).innerText;
navigator.clipboard.writeText(copyText).then(function() {
var button = document.querySelector('.copy-btn');
button.classList.add('copied');
setTimeout(function() {
button.classList.remove('copied');
}, 2000);
}, function(err) {
console.error('Could not copy text: ', err);
});
}
</script>
</body>
</html>