-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyinstalled.html
74 lines (68 loc) · 2.77 KB
/
pyinstalled.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Encoder and Decoder Documentation</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Encoder and Decoder Documentation</h1>
<nav>
<a href="https://github.com/COMMANDO2406/TextToPng">GitHub </a>
<a href="https://github.com/COMMANDO2406/TextToPng/releases">Releases </a>
<a href="https://github.com/COMMANDO2406/TextToPng/releases/latest">Download</a>
</nav>
</header>
<main>
<section>
<h2>About</h2>
<p>
This is for people who have python installed, if you don't have python installed go to <a href="./index.html">this page</a>.
This documentation provides instructions and usage examples for the Encoder and Decoder apps.
The Encoder app converts a given string to binary representation and generates an image.
The Decoder app reverses this process to convert the binary image back to the original string.
</p>
</section>
<section>
<h2>Clone the Repository</h2>
<p>
To get the Encoder and Decoder source code, clone the repository from GitHub using the following command:
</p>
<pre><code>git clone https://github.com/COMMANDO2406/TextToPng.git</code></pre>
</section>
<section class="spacing-section">
<h2>Install Dependencies</h2>
<p>
Before running the Encoder and Decoder, make sure to install the required dependencies by running the following command in the project directory:
</p>
<pre><code>pip install Pillow</code></pre>
</section>
<section>
<h2>Running the App</h2>
<p>
To run the Encoder and Decoder, first navigate to the /src directrory and then execute the following command in the project directory:
</p>
<pre><code>cd TextToPng</code></pre>
<pre><code>cd src</code></pre>
<pre><code>python main.py</code></pre>
<p>
For the decoder you can use the same steps and substitute <code>main.py</code> with <code>decoder.py</code>
</p>
</section>
</main>
<div class="progress"></div>
<div class="cube-wrap">
<div class="cube">
<div class="side top"></div>
<div class="side bottom"></div>
<div class="side front"></div>
<div class="side back"></div>
<div class="side left"></div>
<div class="side right"></div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>