Metadata-Version: 2.1
Name: macimg
Version: 0.0.1
Summary: A package for manipulating images using Objective-C frameworks
Home-page: https://github.com/SKaplanOfficial/macimg
Author: Stephen Kaplan
Author-email: stephen.kaplan@maine.edu
Project-URL: Bug Tracker, https://github.com/SKaplanOfficial/macimg/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyobjc (~=9.0)

# macimg
A Python package for manipulating images using Objective-C frameworks.

# Examples

### Example 1: Applying Image Filters

```python
from macimg import Image
from macimg.filters import (
    Bloom,
    Comic,
    Crystallize,
    Edges,
    Invert,
    Sepia,
    Vignette
)

# Load an image
img = Image("assets/Iceland1.jpg")
img.show_in_preview()

# Apply a single filter
Vignette(intensity=10).apply_to(img)
img.show_in_preview()

# Apply multiple filters
filters = [Comic(), Edges(), Invert(), Sepia(), Bloom(), Crystallize(crystal_size=50)]
for index, filter in enumerate(filters):
    filter.apply_to(img)
    img.show_in_preview()
```

The code above produces the following sequence of images:
![Images produced by applying several filters sequentially](./assets/FilterExampleResults.png)
