Page 1 of 1

Bug in version.h ?

Posted: 2006-04-05T15:12:24-07:00
by el_supremo
I came across what looks like a bug in version.h:

Code: Select all

#define MagickLibVersionNumber  6,2,6,5
#if (QuantumDepth == 8)
#define MagickQuantumDepth  "Q8"
#define MagickQuantumRange  "255"
#elif (QuantumDepth == 16)
#define MagickQuantumDepth  "Q16"
#define MagickQuantumRange  "65535"
#elif (QuantumDepth == 32)
#define MagickQuantumDepth  "Q32"
#define MagickQuantumRange  "4294967295"
#elif (QuantumDepth == 32)
#define MagickQuantumDepth  "Q64"
The last elif should be:

Code: Select all

#elif (QuantumDepth == 64)
Pete

Posted: 2006-04-05T15:41:52-07:00
by magick
Luckily very few people use the 32 bits-per-pixel version of ImageMagick. Fixed in ImageMagick 6.2.7 Beta. Thanks.