Add multi-thread

add multithread and change version ImageMagick