Added support for parallel image processing