Skip to content

Commit

Permalink
[scripts] removed image utils
Browse files Browse the repository at this point in the history
  • Loading branch information
NSPC911 committed Oct 23, 2024
1 parent 1616324 commit 43a49c1
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions docs/scripts/py-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,5 @@ Does 3 processes

:::

## [image_utils.py](https://github.com/BEComTweaks/resource-packs/blob/main/pys/image_utils.py)

Two options:

1. Tweak Images<br>
Takes a directory as an input.<br>
Opens all PNG files, changes the colour by ±6 **except opacity**<br>
Example:<br>
- If a pixel is `rgba(236,185,212,255)`, it can change it to `rgba(237,184,214,255)`
2. Compress Images
Takes a directory as an input.<br>
Opens all PNG files in directory **and subdirectories**, and compresses it by a number entered.

If you want a better explanation, there are comments in each script and have a more detailed explanation on what is
going on.
going on.

0 comments on commit 43a49c1

Please sign in to comment.