Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

imwrite is a blocking function, so the program won't continue until it's finished.

If you need to communicate with another thread, you can raise a flag after imread returns, so the other thread can access the image.