Hi,
I have been stuck in an issue since couple of days and would be glad if someone could help.
In My Processing code, I have 3 knob controller elements which are used mainly for output purposes (as meter gauges to display some metrics) instead of user input.
When I put a saveFrame() or save() function at the end of draw() function, the image saved has rest of the sketch correctly stored but not the above gauges. The space occupied by them is left blank.
However, when I put this save() function inside a keyPressed() function, it works fine . But I do NOT want someone to manually press a key each time as this code is gonna be set up in a cron to run every half an hour and generate a new sketch.
I tried simulating the key Press event of pressing say key "q" using an object of Robot class and that works fine only till the time I don't use my mouse/keyboard meanwhile the code completes execution which isn't a good solution at all.
Please provide me the solution to correctly save the meter gauges in .png image file.
Thanks.
1