Running Windows 11 on CPU i9-13900KS 6GHz cores:8+16 Turbo Raptor Lake released Jan, 2023
GPU Nvidia RTX 3070 8GB
RAM 64GB DDR5 5200MHz
Mother Board ASUS ROG Maximus Z790 Hero
I can run PhotoAI from the Start menu OK. I can open up a cmd.exe terminal, cd to C:\program files\Topaz Labs LLC\Topaz Photo AI and enter Topaz Photo AI.exe someimage.jpg and it works.
What does not work is when I launch Photo AI from another program expecting to use the command line interface. Faststone is one such program but I also develop my own Java based image processing software and launch a variety of other software from inside that, including Topaz’s other packages. Everything works except for Photo AI.
I finally figured out what the problem is, Photo AI was shipped with debugging turned on which is only active when launched from another program. Photo AI starts spewing tons of messages out the error stream and won’t complete its start up until that has been cleared out. I put code in my Java program to get around this but that doesn’t help with Faststone and others.
Possible Topaz solutions:
- don’t ship a product with debug enabled
- provide a way to configure debug enable
- provide a command line flag to enable/disable debugging (e.g. -quiet)
General comment: Running the program from a command line should support a “–help” option to display a brief synopsis of command line options.