Metadata-Version: 2.4
Name: squarepix
Version: 0.1.0
Summary: Bulk center-crop and resize images to a square in one command.
Author-email: Your Name <you@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourusername/squarepix
Keywords: image,crop,resize,square,batch,pillow
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Pillow>=9.0.0
Dynamic: license-file

# squarepix

Bulk center-crop images to a square and resize them — from the command line or from Python.

## Install

```bash
pip install squarepix
```

## Usage (command line)

```bash
squarepix "D:\InputImages" "D:\OutputImages"
squarepix "D:\InputImages" "D:\OutputImages" --size 512 512
```

## Usage (Python)

```python
from squarepix import process_folder

process_folder("D:/InputImages", "D:/OutputImages", output_size=(640, 640))
```

## Supported formats

`.jpg .jpeg .png .bmp .tif .tiff .webp`
