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)
# 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.0.1.tar.gz
(8.5 kB
view details)
Built Distribution
File details
Details for the file gigapixel-1.0.1.tar.gz
.
File metadata
- Download URL: gigapixel-1.0.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c75e9e5bff4c0a58dd5efd1fa6bd053da6d2fa85bd97a883bfc3b326be9e5da |
|
MD5 | b1b594504c4c77b00166dd4cfd939106 |
|
BLAKE2b-256 | 3dad14cf0f9df9cb17a78801c5b30f38df74558bf84f2af9304654730fe43f40 |
File details
Details for the file gigapixel-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: gigapixel-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b40e7ada28232313ae8aca7cfaf22e224a35e1ce164eb660e5ab2623a711594 |
|
MD5 | 8c632bd8bae3a9f4a6634a9bc42ea875 |
|
BLAKE2b-256 | eadbdc183d9527e4a1584a3cd3d21cc2cf273c9a153ae9f40b0b30e41bfa9fc4 |