Skip to main content

DEPRECATED: This package is no longer maintained. Please use [adaptive-pixelizer]

AdaptivePixelizer

PyPI version License: MIT

AdaptivePixelizer is a simple GUI tool to pixelate images by averaging colors within a user-defined grid. It's designed for easily converting high-resolution pixel art or photos into a low-resolution, dot-art style.

Features

  • Interactive Grid Editing: Manually add, delete, and move grid lines directly on the image using mouse clicks and drags.
    • Shift + Left Click: Add vertical line
    • Shift + Right Click: Add horizontal line
    • Ctrl + Click: Delete line under cursor
    • Drag line: Move line
    • Delete/Backspace: Delete line under cursor
  • Zoom and Pan: Easily navigate large images. (Mouse wheel, Alt+Drag)
  • Multiple Color Averaging Methods: Choose between Average, Median, or Mode color calculation for pixelation.
  • Real-time Preview: See the pixelated result instantly (can be toggled on/off).
  • Undo/Redo: Supports undo/redo for grid modifications.
  • Simple Interface: Lightweight and easy to use.

Installation

You can install AdaptivePixelizer using pip:

pip install grid-pixelator

Optional Dependencies:

For potentially faster median color calculation, NumPy is recommended:

pip install grid-pixelator[numpy]

or just "pip install numpy" separately

Usage

  1. Launch the application by typing the following command in your terminal:

    grid-pixelator

  2. Click "画像ファイルを開く" (Open Image File) to load an image.

  3. Adjust the grid lines on the left panel (original image):

    • Use the initial grid spinboxes, or
    • Use Shift+Click, Ctrl+Click, Drag, or Delete/Backspace key as described in Features.
  4. Select the desired color calculation method (Average, Median, Mode).

  5. The pixelated preview will update automatically on the right panel (if "プレビュー自動更新" is checked). Click "プレビュー更新 / 実行" to manually update.

  6. Once satisfied, save the processed image using "ファイル" > "名前を付けて保存...".

Requirements

  • Python 3.8 or later
  • PyQt6
  • Pillow
  • NumPy (Optional, recommended for Median calculation)
  • OS: Primarily tested on macOS, should work on Windows/Linux.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing / Issues

Metadata

Release files for grid-pixelator 0.1.1

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

Source distribution (sdist)

Source distribution for grid-pixelator 0.1.1
File Size Uploaded Provenance
grid_pixelator-0.1.1.tar.gz 23.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for grid-pixelator 0.1.1
File Interpreter ABI Platform
grid_pixelator-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 46.2 kB

Release files / grid_pixelator-0.1.1.tar.gz

Download URL grid_pixelator-0.1.1.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9923f67d33a1ad033bfab8908f37f3b1cd04b74a71bb045864678d6699785436
BLAKE2b-256 checksum
How to use checksums
c871c66e8598544f3a9ce50bcb3a28d0f6564681a33c9b0fcdd252a82e0e4d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / grid_pixelator-0.1.1-py3-none-any.whl

Download URL grid_pixelator-0.1.1-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2481241ecc89b842abd634325b1f5a7169fb7bd88c1ac9417a9be21821d2925
BLAKE2b-256 checksum
How to use checksums
483b4f7e555bc3f3fd44c424114ecfe4a31885a61f7552262c89e9b0297711c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for grid-pixelator 0.1.1

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

0.1.1 This release

2 release files 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