Repository

Gigapixel

<img src="logo.png" alt="Gigapixel" height="260"> <h4 align="center">Topaz Gigapixel AI automation tool</h4> pip install -U gigapixel from gigapixel import Gigapixel · License unknown · Install via pip · Maintenance unknown

License
Unknown

README

<h1 align="center">
<br>
<img src="logo.png" alt="Gigapixel" height="260">
<br>
Gigapixel
<br>
</h1>

<h4 align="center">Topaz Gigapixel AI automation tool</h4>

PyPI Python 3 Tests

Requirements • Installation • Usage • Contributing • License

Requirements

Tested on Topaz Gigapixel AI v7.2.3

Installation

Install the latest version with PyPI

pip install -U gigapixel

Usage

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:

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