]> granicus.if.org Git - imagemagick/commitdiff
Revert colormap patch, further analysis required
authorCristy <urban-warrior@imagemagick.org>
Sun, 8 Nov 2015 20:49:24 +0000 (15:49 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 8 Nov 2015 20:49:24 +0000 (15:49 -0500)
MagickCore/colormap.c
configure.ac

index e7cf95d4b1ccd11ed588cb4a149d333fd3e1337e..e6152338d3dc057136bfe32f129eb7f286fdc810 100644 (file)
@@ -114,7 +114,7 @@ MagickExport MagickBooleanType AcquireImageColormap(Image *image,
   assert(image->signature == MagickCoreSignature);
   if (image->debug != MagickFalse)
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
-  image->colors=MagickMax(colors,1);
+  image->colors=MagickMax(colors,2);
   if (image->colormap == (PixelInfo *) NULL)
     image->colormap=(PixelInfo *) AcquireQuantumMemory(image->colors,
       sizeof(*image->colormap));
index 6a3348d63a4417523ed0c967b438ce408fc9a844..dab962e897f958b3309c6578766f4bdb0973d062 100755 (executable)
@@ -3824,7 +3824,7 @@ matches your expectations.
   Host system type: $host
   Build system type: $build
 
-                  Option                        Value
+                 Option                        Value
   ------------------------------------------------------------------------------
   Shared libraries  --enable-shared=$enable_shared             $libtool_build_shared_libs
   Static libraries  --enable-static=$enable_static             $libtool_build_static_libs
@@ -3834,7 +3834,7 @@ matches your expectations.
   High Dynamic Range Imagery
                     --enable-hdri=$enable_hdri         $enable_hdri
 
-  Install documentation:       $wantdocs
+  Install documentation:                       $wantdocs
 
   Delegate Library Configuration:
   BZLIB             --with-bzlib=$with_bzlib           $have_bzlib
@@ -3850,12 +3850,12 @@ matches your expectations.
   JBIG              --with-jbig=$with_jbig             $have_jbig
   JPEG v1           --with-jpeg=$with_jpeg             $have_jpeg
   LCMS              --with-lcms=$with_lcms             $have_lcms
-  LIBJPEG2          --with-openjp2=$with_openjp2               $have_openjp2
   LQR               --with-lqr=$with_lqr               $have_lqr
   LTDL              --with-ltdl=$with_ltdl             $have_ltdl
   LZMA              --with-lzma=$with_lzma             $have_lzma
   Magick++          --with-magick-plus-plus=$with_magick_plus_plus     $have_magick_plus_plus
   OpenEXR           --with-openexr=$with_openexr               $have_openexr
+  OpenJP2           --with-openjp2=$with_openjp2               $have_openjp2
   PANGO             --with-pango=$with_pango           $have_pango
   PERL              --with-perl=$with_perl             $have_perl
   PNG               --with-png=$with_png               $have_png