An open API service indexing awesome lists of open source software.

https://github.com/timnekk/gigapixel

Topaz Gigapixel AI Automation Library
https://github.com/timnekk/gigapixel

automation photo-enhance python topaz topaz-gigapixel-ai upscale windows

Last synced: 6 months ago
JSON representation

Topaz Gigapixel AI Automation Library

Awesome Lists containing this project

README

          




Gigapixel


Gigapixel


Topaz Gigapixel AI automation tool


PyPI
Python 3
Tests


Requirements
Installation
Usage
Contributing
License

## Requirements

Tested on [Topaz Gigapixel AI](https://www.topazlabs.com/gigapixel-ai) **v7.2.3**

## Installation

Install the latest version with [PyPI](https://pypi.org/project/gigapixel/)

```bash
pip install -U gigapixel
```

## Usage

```python
from gigapixel import Gigapixel

gp = Gigapixel(r"C:\Program Files\Topaz Labs LLC\Topaz Gigapixel AI\Topaz Gigapixel AI.exe")

gp.process(r"path\to\image.jpg")
```

Additional parameters can be passed to `process()` method:
```python
from gigapixel import Scale, Mode

gp.process(
r"path\to\image.jpg",
scale=Scale.X2,
mode=Mode.STANDARD,
)
```

> **Warning!**
> Using parameters (`scale`, `mode`) may take **additional time** to process single image.
> Consider using them only when needed.
> To get the best performance, use `gp.process(r"path\to\image.jpg")`

## Contributing

Bug reports and/or pull requests are welcome

## License

The module is available as open source under the terms of the [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0)