Skip to main content

Convert videos and images to pixel art, including live streaming.

Project description

PXLY is a tool for converting videos, images, and live streams into pixel art. It supports video conversion, live video capture, virtual camera streaming, and screen capturing.

Features

  • Video to Pixel Art**: Convert video files into pixel art video files.
  • Image to Pixel Art**: Convert image files into pixel art images.
  • Live Video to Pixel Art**: Utilizes a virtual camera to capture live video from a camera or screen and display it as pixel art.

Installation

Install PXLY directly from PyPI:

pip install pxly

PXLY can be used from the command line or within a Python script.

Command Line Usage

  • Convert an image to pixel art: pxly image path/to/image.jpg

  • Convert a video to pixel art: pxly video path/to/video.mp4

  • Start live video pixel art conversion: pxly live

Python Script Usage

You can use PXLY’s CLI from within a Python script using the subprocess module:

import subprocess

Convert an image to pixel art using the CLI subprocess.run(['pxly', 'image', 'path/to/image.jpg'])

Convert a video to pixel art using the CLI subprocess.run(['pxly', 'video', 'path/to/video.mp4'])

Start live video pixel art conversion using the CLI subprocess.run(['pxly', 'live'])

Customizable Parameters

PXLY allows you to adjust various parameters to customize the pixel art output:

  • Brightness, Contrast, and Vibrancy Adjustments**: Modify the appearance of the pixel art.
  • Gamma Correction**: Fine-tune brightness and color balance for a more accurate visual representation.
  • Background Removal**: Enable background removal using segmentation for a cleaner output.
  • Palette Size**: Set the number of colors used in the pixel art output.
  • Resolution and Frame Rate**: Set resolution and frame rate for virtual camera streaming or video processing.

License

This project is licensed under the MIT License.

Enjoy creating pixel art with PXLY!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pxly-0.1.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pxly-0.1.1-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file pxly-0.1.1.tar.gz.

File metadata

  • Download URL: pxly-0.1.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pxly-0.1.1.tar.gz
Algorithm Hash digest
SHA256 afcc4d20fc9c3fd899a05c21f242eb2836a74a29f0c18250c0551c1321d29b83
MD5 92047c28e1eea79360b1b6418b436581
BLAKE2b-256 fe5312a1d9fb7d343655a0a40ab8c76848ad058b58eacde06e27e376ec689fe6

See more details on using hashes here.

File details

Details for the file pxly-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pxly-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pxly-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56bcb1ada04b30be11cebd03eba06eca617e1a5de36c2bdc0f91722a2f2cce62
MD5 cb7353c75cf317b38d4ea59e86a6b209
BLAKE2b-256 c7c4639f3f08f3c348a2141f205a521363d23ea2277c94c7988fd92555af91ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page