From: cristy Date: Wed, 23 Jun 2010 01:07:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6305d1943d31f00e991346225620fe5005ad809d;p=imagemagick --- diff --git a/ChangeLog b/ChangeLog index 45de1d06c..9ca0e1763 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-06-22 6.6.2-8 Cristy + * Skip byte when DDS bitcount is 32 (reference + http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16487). + 2010-06-17 6.6.2-7 Cristy * Support new label:pointsize property. * Miscellany->Slide Show, in the display program, now cycles through the diff --git a/coders/dds.c b/coders/dds.c index 190876410..b5ea3c97a 100644 --- a/coders/dds.c +++ b/coders/dds.c @@ -790,6 +790,8 @@ static MagickBooleanType ReadUncompressedRGB(Image *image, DDSInfo *dds_info) q->blue = ScaleCharToQuantum( (unsigned char) ReadBlobByte(image) ); q->green = ScaleCharToQuantum( (unsigned char) ReadBlobByte(image) ); q->red = ScaleCharToQuantum( (unsigned char) ReadBlobByte(image) ); + if (dds_info->pixelformat.rgb_bitcount == 32) + (void) ReadBlobByte(image); q++; } diff --git a/config/configure.xml b/config/configure.xml index 197020987..893ad56ec 100644 --- a/config/configure.xml +++ b/config/configure.xml @@ -10,7 +10,7 @@ - + diff --git a/magick/magick-config.h b/magick/magick-config.h index 83cf54cc9..6a7428321 100644 --- a/magick/magick-config.h +++ b/magick/magick-config.h @@ -160,9 +160,7 @@ #endif /* define if bool is a built-in type */ -#ifndef MAGICKCORE_HAVE_BOOL -#define MAGICKCORE_HAVE_BOOL /**/ -#endif +/* #undef HAVE_BOOL */ /* Define to 1 if you have the `cimag' function. */ #ifndef MAGICKCORE_HAVE_CIMAG @@ -435,9 +433,7 @@ #endif /* define if the compiler implements L"widestring" */ -#ifndef MAGICKCORE_HAVE_LSTRING -#define MAGICKCORE_HAVE_LSTRING /**/ -#endif +/* #undef HAVE_LSTRING */ /* Define this if a modern libltdl is already installed */ #ifndef MAGICKCORE_HAVE_LTDL @@ -486,14 +482,10 @@ #endif /* define if the compiler implements namespaces */ -#ifndef MAGICKCORE_HAVE_NAMESPACES -#define MAGICKCORE_HAVE_NAMESPACES /**/ -#endif +/* #undef HAVE_NAMESPACES */ /* Define if g++ supports namespace std. */ -#ifndef MAGICKCORE_HAVE_NAMESPACE_STD -#define MAGICKCORE_HAVE_NAMESPACE_STD /**/ -#endif +/* #undef HAVE_NAMESPACE_STD */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ @@ -679,9 +671,7 @@ #endif /* define if the compiler supports ISO C++ standard library */ -#ifndef MAGICKCORE_HAVE_STD_LIBS -#define MAGICKCORE_HAVE_STD_LIBS /**/ -#endif +/* #undef HAVE_STD_LIBS */ /* Define to 1 if you have the `strcasecmp' function. */ #ifndef MAGICKCORE_HAVE_STRCASECMP diff --git a/magick/version.h b/magick/version.h index 127d34725..f5c1ab270 100644 --- a/magick/version.h +++ b/magick/version.h @@ -34,7 +34,7 @@ extern "C" { #define MagickLibInterface 3 #define MagickLibMinInterface 3 #define MagickReleaseDate "2010-06-22" -#define MagickChangeDate "20100617" +#define MagickChangeDate "20100622" #define MagickAuthoritativeURL "http://www.imagemagick.org" #define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-6.6.2/index.html" #if (MAGICKCORE_QUANTUM_DEPTH == 8)