Create a better way of ensuring that the output file is not locked.
Download and losslessly untile Zoomify images
Brought to you by:
inductiveload
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.