

Using parameters ( scale, mode, output_format, delete_from_history) will take additional time to process single image. STANDARD, delete_from_history = True, output_format = OutputFormat. print ( output_path )Īdditional parameters can be passed to process() method (Takes additional time): from gigapixel import Scale, Mode, OutputFormat output_path = app. image = Path ( 'path/to/image.jpg' ) output_path = app.

app = Gigapixel ( exe_path, output_suffix ) # Process image. output_suffix = '-gigapixel' # Create Gigapixel instance.

pic.jpg -> pic-gigapixel.jpg) # You should set same value inside Gigapixel (File -> Preferences -> Default filename suffix). exe_path = Path ( 'C:\Program Files\Topaz Labs LLC\Topaz Gigapixel AI\Topaz Gigapixel AI.exe' ) # Output file suffix. Install the current version with PyPI pip install -U gigapixelįrom gigapixel import Gigapixel, Scale, Mode, OutputFormat from pathlib import Path # Path to Gigapixel executable file. Topaz Gigapixel AI v6.1.0 or newer required Installation
