Topaz Gigapixel AI automation tool
Project description
Gigapixel
Topaz Gigapixel AI automation tool
Requirements • Installation • Usage • Contributing • License
Requirements
Topaz Gigapixel AI v6 of newer required
Installation
Install the current version with PyPI
pip install -U gigapixel
Usage
- Create
Gigapixel
instance - Use
.process()
method to enhance image
from gigapixel import Gigapixel, Scale, Mode
from pathlib import Path
# Path to Gigapixel executable file.
exe_path = Path('C:\Program Files\Topaz Labs LLC\Topaz Gigapixel AI\Topaz Gigapixel AI.exe')
# Output file suffix. (e.g. pic.jpg -> pic-gigapixel.jpg)
# You should set same value inside Gigapixel (File -> Preferences -> Default filename suffix).
output_suffix = '-gigapixel'
# Create Gigapixel instance.
app = Gigapixel(exe_path, output_suffix)
# Process image.
image = Path('path/to/image.jpg')
output_path = app.process(image, scale=Scale.X2, mode=Mode.STANDARD, delete_from_history=True)
# Print output path.
print(output_path)
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gigapixel-1.2.0.tar.gz
(8.8 kB
view details)
Built Distribution
File details
Details for the file gigapixel-1.2.0.tar.gz
.
File metadata
- Download URL: gigapixel-1.2.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30543bdc70a7a042c2ad9645b810bc0c97bbbacbaacd3d4cdbdcd764ad9df929 |
|
MD5 | dec8055dffbf71446694c4ddb12cd423 |
|
BLAKE2b-256 | f58c46542244a0437a30bda17f9305ec36c4e78a340134f85b086495ce7d1e8c |
File details
Details for the file gigapixel-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: gigapixel-1.2.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d433c221fb66cfa754201923ca0313b0449d149732a435fcf6f9aa3d79f174 |
|
MD5 | 226f8c66a53bb21c4cd87ccd2fc616b8 |
|
BLAKE2b-256 | 33717215362e5d60051dc50076e269812353b1c59efe7b2efe077819612f960b |