Menu

#1 Create a better way of ensuring that the output file is not locked.

1.0
open
nobody
None
2011-10-06
2011-10-06
No

When jpegtran is called repeatedly to work on the output image, sometimes the action can fail because the output file is still locked from the last jpegtran call. This has only happened in Windows, though. The current solution is "time.sleep(0.2)" between jpegtran calls. This slows down the program quite a bit. So, a better solution should be found.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB