Skip to main content

pixelate

https://travis-ci.org/useless-tools/pixelate.svg?branch=master

Make your photos even worse. But it’s like pixel art.

Works with Python ≥ 3.2. Use version 0.4 for Python 2.* projects.

Installation

pip install pixelate

Usage

From CLI:

pixelate --input=img/bps.jpg --output=img/bps.png --pixel-size=10

pixelate arguments:

  • –input – string – path to input image.

  • –output – string – path to output image.

  • –pixel-size – integer – pixel size.

From Python code:

from pixelate import pixelate

pixelate('img/bps.jpg', 'img/bps.png', 10)

Args:

  • input_file_path: the path to the source image file to be processed.

  • output_file_path: the path to the result file.

  • pixel_size: pixel size.

From this:

original bps

To this:

pixeated bps

Metadata

Release files for pixelate 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pixelate 1.0.0
File Size Uploaded Provenance Actions
pixelate-1.0.0.tar.gz 2.9 kB Without provenance Details for pixelate-1.0.0.tar.gz

Release files / pixelate-1.0.0.tar.gz

Download URL pixelate-1.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
afa10104c3203769e3e07948477856f14764ded34a243963e37cba962c79b1ef
BLAKE2b-256 checksum
How to use checksums
d69f8e43d4f878463d3a68e30656919b4798d2c30bf173311fe5c385c11f9a24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Security for pixelate 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page