Skip to content

MCTVR/pyPixelate

Repository files navigation

pyPixelate

pyPixelate pixelates your image into a pixel art asthetic.

Example:

Original & Output (pyPixelate.py, Original, 25px per tile, 50px per tile, 100px per tile)

Original & Output (pyPixelateE.py, Original, 25px per tile, 50px per tile, 100px per tile)

Credits: https://akebi-chan.jp/

Prerequisites

  • numpy
  • cv2

Usage (pyPixelate.py)

Windows:

python pyPixelate.py <image> <block size> <output image (e.g. 1.jpg)>

Linux & macOS:

python3 pyPixelate.py <image> <block size> <output image (e.g. 1.jpg)>

Usage (pyPixelateE.py) (E for Enhanced and Experimental)

Windows:

python pyPixelateE.py <image> <block size> <output image (e.g. 1.jpg)>

Linux & macOS:

python3 pyPixelateE.py <image> <block size> <output image (e.g. 1.jpg)>

It might take a while to create a the pixelised picture.

Parameters

  • PADDING (Image Output Size, must be a multiple of block size)
  • GRID_LINES (To produce grid lines in final output, boolean value)

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy