Unfortunately there is no reasonable way to detect that the file has been written.
You could, possibly, do something like this:
- Trigger on folder creation
- Pause until png exists
- Pause until the shell command
lsof -n -F n
does not contain the path to the png.
That might work ok.