This Python tool allows you to "deep fry" an image by applying extreme downscaling and upscaling to distort the image, followed by severe JPEG compression for that "artifacted" effect that gives it a truly low-quality look. Perfect for memes, social media posts, or just adding some extra absurdity to your images.
- Select an image file from your computer.
- Choose an output directory for saving the processed image.
- Enter a compression percentage (1-500) to control the intensity of the deep-frying effect.
- Supports JPEG and PNG images.
- Extremely low JPEG quality for maximum artifacting.
- Python 3.x
Pillow
library for image processingtkinter
for file dialogs
You can install the required dependencies using:
pip install pillow
- Clone or download this repository to your local machine.
- Run the script
image fryer.py
(or whatever you name it) in your terminal or command prompt. - A file selection window will open, allowing you to choose the image you want to deep fry.
- After selecting the image, choose an output directory where the modified image will be saved.
- Enter a compression percentage between 1 and 500. The higher the number, the more extreme the "deep frying" effect.
- The script will process the image, apply the "deep fry" effect, and save it in the selected output directory.
python "image fryer.py"
Upon running, you'll be asked to select an image file and specify the compression percentage. The program will then output a file with a highly compressed and artifacted version of the input image.