forked from AryanVBW/Exif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
176 lines (164 loc) · 5.14 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
<!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: #f0f0f0;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
max-width: 800px;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.code-block {
position: relative;
margin-bottom: 20px;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
background-color: #007bff;
color: #fff;
border: none;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.copy-btn.copied {
background-color: #28a745;
}
.copy-btn.copied::after {
content: "Copied";
}
.copy-btn:hover {
background-color: #0056b3;
}
.center {
text-align: center;
}
.logo {
max-height: 200px;
}
.animated-text {
font-size: 24px;
animation: color-change 10s infinite alternate;
}
@keyframes color-change {
0% {
color: #007bff;
}
100% {
color: #ff6347;
}
}
</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" height="200"><br>
<span class="animated-text">A Exif-Images Edition</span>
</p>
<h2>Features</h2>
<ul>
<li>Extract exif data of images jpg, jpeg, png.</li>
<li>Clear exif data of images.</li>
<li>Save data in a text file.</li>
</ul>
<h2>Supported Formats</h2>
<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>
<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>
<ol>
<li>Install Python3
<ul>
<li>Debian, Ubuntu, Etc: <code><button class="copy-btn" onclick="copyToClipboard('#install-python')">Copy</button>sudo apt-get install python3</code></li>
<li>Fedora, Oracle, Red Hat, etc: <code><button class="copy-btn" onclick="copyToClipboard('#install-yum')">Copy</button>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><button class="copy-btn" onclick="copyToClipboard('#upgrade-pip')">Copy</button>python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow
pip install Pillow moviepy
pip install eyed3</code></pre>
</li>
</ol>
<h2>Installation</h2>
<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>
<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>
<script>
function copyToClipboard(elementId) {
var copyText = document.querySelector(elementId).innerText;
navigator.clipboard.writeText(copyText).then(function() {
var copyButton = document.querySelector(elementId).parentNode.querySelector('.copy-btn');
copyButton.classList.add('copied');
setTimeout(function() {
copyButton.classList.remove('copied');
}, 2000);
}, function(err) {
console.error('Failed to copy: ', err);
});
}
</script>
</body>
</html>