- #pragma omp parallel for schedule(static) shared(progress,status) \
- dynamic_number_threads(destination_image,destination_image,height,1)
+ #pragma omp parallel for schedule(static,4) shared(progress,status) \
+ magick_threads(destination_image,destination_image,height,1)