From cbb0c5cc6296693f0c1df730c6cdb66d81a50284 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 2 Aug 2017 11:18:29 -0400 Subject: [PATCH] Threading the colormap is not efficien-- instead use a sequential loop --- MagickCore/attribute.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/MagickCore/attribute.c b/MagickCore/attribute.c index 32d9fd7e2..0c96da62e 100644 --- a/MagickCore/attribute.c +++ b/MagickCore/attribute.c @@ -308,11 +308,6 @@ MagickExport size_t GetImageDepth(const Image *image,ExceptionInfo *exception) if ((image->storage_class == PseudoClass) && (image->alpha_trait == UndefinedPixelTrait)) { -#if defined(MAGICKCORE_OPENMP_SUPPORT) - #pragma omp parallel for schedule(static,4) shared(status) \ - if ((image->colors) > 256) \ - num_threads(GetMagickResourceLimit(ThreadResource)) -#endif for (i=0; i < (ssize_t) image->colors; i++) { const int -- 2.40.0