Skip to content

Simple Python GUI application for converting images into pixel art style with a fixed color palette

License

Notifications You must be signed in to change notification settings

jmittendo/pixelart-palette-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel Art Palette Converter

pixelart-palette-converter is a simple Python GUI application for converting images into pixel art style with a fixed color palette.

Example

Conversion Example

Example of an image conversion using a downsampling factor of 16 with Pillow's Lanczos resampling mode, grayscale conversion, brightness/contrast adjustments, and a four-color palette by Kerrie Lake. (Photo by me)

Installation

  1. Download and install git on your system: https://git-scm.com/downloads.
  2. Download and install the latest version of Python: https://www.python.org/downloads/.
  3. Clone this repository with:
    git clone https://github.com/jmittendo/pixelart-palette-converter
  4. Create a virtual environment:
    python -m venv .venv
  5. Activate the environment:
    • Windows:
      .venv\Scripts\activate
    • Linux:
      source .venv/bin/activate
  6. Upgrade pip inside the environment:
    python -m pip install -U pip
  7. Install the required packages inside the environment:
    pip install -r requirements.txt

Usage

After installing, activate the virtual environment if necessary (check installation step 5) and run the application with:

    python pixelart_palette_converter.py