Threaded image processor library to resize all the images in given directory.