[Tools >> Screenshot tool@addOnScript:info] Select the camera or vision sensor you wish to generate a high resolution screenshot for. This model is courtesy of Ulrich Schwesinger.
[Tools >> Screenshot tool@addOnScript:error] 340: in sim.saveImage: operation failed.
stack traceback:
[C]: in function 'sim.saveImage'
[string "Tools >> Screenshot tool@addOnScript"]:340: in function 'save_callback'
[CoppeliaSim:error] External call to simCallScriptFunction failed ('save_callback'): error in script function.
I know why the error occurred. When saving the screenshot, all the text in the "file name" input box is selected by default. If you enter a file name without including the image format suffix before saving, it will trigger the following error:
[Tools >> Screenshot tool@addOnScript:error] 340: in sim.saveImage: operation failed.
stack traceback:
[C]: in function 'simSaveImage'
[string "Tools >> Screenshot tool@addOnScript"]:340: in function 'save_callback'
[CoppeliaSim:error] External call to simCallScriptFunction failed ('save_callback'): error in script function.