Skip to main content

Topaz Gigapixel AI automation tool

Project description


Gigapixel
Gigapixel

Topaz Gigapixel AI automation tool

PyPI Python 3 Tests

RequirementsInstallationUsageContributingLicense

Requirements

Topaz Gigapixel AI v6 of newer required

Installation

Install the current version with PyPI

pip install -U gigapixel

Usage

  1. Create Gigapixel instance
  2. 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


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.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

gigapixel-1.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file gigapixel-1.1.0.tar.gz.

File metadata

  • Download URL: gigapixel-1.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for gigapixel-1.1.0.tar.gz
Algorithm Hash digest
SHA256 94e27ad8937ef31686a276660cc0d6b8ef726536eae1295d79ffa0ee6cdfe3c6
MD5 67ff02a9af4008e0eef2690dcf40fd10
BLAKE2b-256 82a84734c13b9fe2ce5b21c8ca1e1fd11d68125c9fef3f88233377c11e39aa33

See more details on using hashes here.

File details

Details for the file gigapixel-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: gigapixel-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for gigapixel-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52d5631d92b79f85300bd76edf33f872d4244fd71aecc4e92aa6f9d9e86364fc
MD5 499f58669b8e1c901266a25743be8a2d
BLAKE2b-256 e203b5b584efbb16bf77af857ab2dedb8fbaa33d4a5021f105b8c3448ff559ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page