You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ pip install -r requirements.txt
46
46
-[Combine PDF files](#Combine-PDF-files)
47
47
-[Add Watermark to PDF](#Add-Watermark-to-PDF)
48
48
-[Encrypt or Decrypt a PDF](#Encrypt-or-Decrypt-a-PDF)
49
+
-[Add Logo to Images](#Add-Logo-to-Images)
49
50
50
51
### Code Destroyer
51
52
@@ -67,6 +68,8 @@ Enter the full filename (like helloWorld.c) in the prompt that follows.
67
68
68
69
Takes in the text from your clipboard and saves the Phone Numbers and Email Addresses found in it to .txt files. It searches for Indian Mobile Phone Numbers, Toll-Free Numbers, Telephone Numbers and Emails using Regular Expressions.
69
70
71
+
_Useful if you have a large text data (like a website) and you are searching for phone numbers of emails in that text._
72
+
70
73
#### Usage:
71
74
72
75
```py3
@@ -79,6 +82,8 @@ Two files, `emails.txt` and `phoneNumbers.txt` would be created in the same dire
79
82
80
83
Lets you search through a folder based on file size. Asks user for folder path and size. Files and subfolders inside the folder, greater than or equal to the input size would be displayed.
81
84
85
+
_Useful if you want to find large files and folders taking up space and wish to delete them._
86
+
82
87
#### Usage:
83
88
84
89
```py3
@@ -91,6 +96,8 @@ When prompted, enter the minimum size (in bytes) and the folder where files are
91
96
92
97
Finds all files with a given prefix, such as spam001.txt, spam002.txt, and so on, in a single folder and locates any gaps in the numbering (such as if there is a spam001.txt and spam003.txt but no spam002.txt) and reanames all the files to close this gap.
93
98
99
+
_Useful if you have a number of files with same prefix and numbering after it and by some case, there is irregularity in numbering (like after deleting unnecessary images from a camera) and you wish to get a ragular naming in those files._
100
+
94
101
#### Usage:
95
102
96
103
```py3
@@ -108,6 +115,8 @@ a single PDF. The program also prompts user if they want to include the cover pa
108
115
It is recommended to rename files so that they are lexographically in the same order as they are to be combined and put them in the same directory as the script.
109
116
The combined PDF would be saved as the name of the first file in the lexographic order prepended with 'combined'.
110
117
118
+
_Useful if you have many PDF and you want to read them all one after the another (like PDFs of a professor's slides that you wish to read before exams). You won't need to go from one PDF to another._
119
+
111
120
__Ensure that none of the PDFs are encrypted.__
112
121
113
122
#### Usage:
@@ -124,6 +133,8 @@ Add watermark to every page of a PDF document.
124
133
125
134
The watermark file should be a PDF too. If you want to make an image or text as a watermark, put them in a word file and stylize as per you want it to appear as the watermark and then export the file as PDF. This file would be the watermark file.
126
135
136
+
_The usefullness of this script is straightforward - To add watermark to PDF files to prove its originality, make it harder to copy, and add authorship._
137
+
127
138
__Ensure that none of the PDFs are encrypted.__
128
139
129
140
#### Usage:
@@ -138,6 +149,8 @@ Enter the filenames of the PDF to be watermarked and then of the watermark PDF.
138
149
139
150
Encrypt an unencrypted PDF file with a password or decrypt a password-protected PDF and save as an unencrypted file.
140
151
152
+
_The usefullness of this script too is pretty straightforward - To add or remove privacy to PDF files._
153
+
141
154
#### Usage:
142
155
143
156
```py3
@@ -146,6 +159,20 @@ python3 encryptDecryptPDF.py
146
159
147
160
Choose whether you want to encrypt or decrypt a PDF and then enter the name of the file. You would be prompted to enter the password either to encrypt the PDF or decrypt it, as selected earlier.
148
161
162
+
### Add Logo to Images
163
+
164
+
Adds logo to the lower-right corner of all the pngs, jpgs and jpegs in the directory.
165
+
166
+
_Useful to add logos to imagesto prove their originality, make them harder to copy, and add authorship._
167
+
#### Usage:
168
+
169
+
```py3
170
+
python3 addLogo.py
171
+
```
172
+
173
+
Enter the location of the logo file in the prompt that follows. All the images with added logo would be saved in the 'withLogo' directory.
0 commit comments