Skip to content

Commit d7bdfc9

Browse files
Added Information
Added readme and image example with proofs and could scare you with their facts.
1 parent 3ca46f3 commit d7bdfc9

4 files changed

Lines changed: 21 additions & 3 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
# Image-Reprocessor
22
Reprocesses images or just basically clears any traces if there is, anonymity it is.
3+
4+
### The python code uses those modules listed here:
5+
- sys, uses argv to get path.
6+
- os, listdir to loop through inputs folder.
7+
- PIL, uses Image to take the image's data and processes the processed image data from numpy.
8+
- numpy, ndarray and uint8 for cleaning the image's data taken from PIL.
9+
10+
#### Speed?
11+
- Processed 2 4500x2500 images in less than a second.
12+
#### Transparent images?
13+
- Yessir (Check line 14).
14+
#### There's a lot of data in each image.
15+
- literally a 16.4mb image has been reprocessed into a about 15.4mb image, I was so surprised yet scared.
16+
- The amount of traces is tremendous, we need more knowledge about that.
17+
18+
#### Example:
19+
- ![Example 1.2](https://github.com/Developer-Incoming/Image-Reprocessor/blob/main/outputs/test9 Data.png?raw=true)
20+
- Example 1.1 showing the original file's bytes, which are 149 bytes.
21+
- ![Example 1.2](https://github.com/Developer-Incoming/Image-Reprocessor/blob/main/outputs/Processed test9 Data.png?raw=true)
22+
- Example 1.2 showing the reprocessed file that lost 51 bytes out of 149 bytes of its original bytes, crazy isn't?

main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from sys import argv
22
from os import listdir
3-
import colorama
4-
colorama.init()
53

64
from PIL import Image
75
from numpy import ndarray, uint8
@@ -26,7 +24,7 @@ def reprocessImage(imagePath):
2624
| || '_ ` _ \ / _ |/ _ |/ _ \ __| | |_) / _ \ _ \| __/ _ \ / __/ _ \/ __/ __|/ _ \| __|
2725
| || | | | | | (_| | (_| | __/ | | _ < __/ |_) | | | (_) | (_| __/\__ \__ \ (_) | |
2826
|___|_| |_| |_|\__,_|\__, |\___|_| |_| \_\___| __/|_| \___/ \___\___||___/___/\___/|_|
29-
|___/ |_|
27+
|___/ |_| Pro Max Plus 6G XDR OLED 8K
3028
''')
3129

3230
input("Press enter to process the folder:\n" + inputs + "\n\nand output its outputs into the folder:\n" + outputs + "\n")

outputs/Processed test9 Data.png

19 KB
Loading

outputs/test9 Data.png

15.1 KB
Loading

0 commit comments

Comments
 (0)