uclouvain/openjpeg

opj_compress no way to disable the error message boxes for use in scripts?

PeterisSudakovs opened this issue · 0 comments

Expected behavior and actual behavior.

add -quiet to the command line to suppress the message box pop-ups in case of errors (command line only)

Steps to reproduce the problem.

add -quiet to opj_compress.exe command line paramaters:
Invalid option quiet
[WARNING] An invalid option has been ignored

in case of a broken tiff file the programm hangs with a message box popup that needs manual closing, in the command line there is:
tiftoimage:Failed to open tiff_00001.tif for reading
Unable to load tif(f) file

expected behaviour:
no message box popup - just command line output

Operating system

Windows 10

openjpeg version

v.2.5.0