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.0.tar.gz (14.7 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.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pxly-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 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.0.tar.gz
Algorithm Hash digest
SHA256 0d0b44bf5ce3f2c0db8842aae91eead9322ffa7413d6b3277fdaa9141cf63d5d
MD5 42328ae1974f32a695de99c37907d72f
BLAKE2b-256 374ff6a4120bc04b1322dc9e55bb32d3b86769b305eb94bbef149045fa43547a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pxly-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 419841b2bc30eebfe275f40363da7700aec606bb325cb5258881fe3980c4522f
MD5 28c39c0e542962c7eb5967ad11b2dd56
BLAKE2b-256 a383cb1ae9752752b94a35cf20fc0035badd3ff65351af912081b034d33efb78

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