Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information messages in the command prompt cannot be eliminated #130

Closed
gcode-importer opened this issue Mar 1, 2012 · 6 comments
Closed

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 130

When running the application you get information in the command prompt. I use it as
part of another Python app and this information should not appear to the user.

I redirect the output to a "garbage" txt as a solution (Python 2.7).
val = os.system(os.path.join(root,"OPENJPEG","j2k_to_image") + " -i " + imname + "
-o " + os.path.join(root,"temp_image.tif") + ' >' + os.path.join(root,'exit.txt'))

os.system(os.path.join(root,"OPENJPEG","image_to_j2k") + " -i " + os.path.join(root,"temp_image2.tif")
+ " -o " + imname[0:-4] + "_UncertaintyReflectance.jp2" + ' >' + os.path.join(root,'exit.txt'))

However, it works for "j2k_to_image" but not for "image_to_j2k". I think it would be
nice an option to avoid these information like in kakadu (-quiet).

Thanks in advance 

Reported by xavi.gorronyo on 2012-03-01 11:48:00

@gcode-importer
Copy link
Author

Can you provide a patch ? How do I report a real issue other than printing to stdout
?

Reported by malaterre on 2012-05-21 13:59:41

  • Status changed: Accepted

@gcode-importer
Copy link
Author

Reported by malaterre on 2012-05-29 16:33:52

  • Labels added: Priority-Low
  • Labels removed: Priority-Medium

@gcode-importer
Copy link
Author

Reported by malaterre on 2014-02-25 16:04:16

@gcode-importer
Copy link
Author

Really we would need a quiet mode in openjpeg.

Reported by malaterre on 2014-03-14 15:14:48

  • Labels added: Milestone-Release2.1

@detonin
Copy link
Contributor

detonin commented Jan 25, 2016

Quiet mode is required indeed. Marked it for next release.

@detonin
Copy link
Contributor

detonin commented Jun 14, 2017

quiet mode added as per #928.
closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants