Skip to content

chschommer/pixelate-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pixelate Filter (Mosaic)

This python script provides an easy way to pixelate images. This script uses python3 for pixelating and Pillow to read and write images. The result is saved as a PNG file.

Dependencies

The following dependencies must be installed:

I recommend using package managers like homebrew and pip3.

Usage

  1. Download/clone code and navigate to the folder
  2. Run the following command
python3 mosaic.py <Path to File> <block-size> 

With block-size you control the size of the pixelated block. The result depends on the input and the dimensions.

Examples

See the following examples below.

Original block-size=50 block-size=100

About

Pixelate full images with customizable pixelation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages