* Enable PFM endian support.
* Add context to -border for montage. Inside the parenthesis it adds a border
to the image otherwise it sets the border for the layout manager.
+ * 24-bit BMP images are not colormapped even if header colors != 0.
2010-05-15 6.6.1-10 Cristy <quetzlzacatenango@image...>
* Use ScaleCharToQuantum() in coders/src.c (reference
if ((bmp_info.bits_per_pixel == 16) ||
(bmp_info.bits_per_pixel == 32))
image->matte=bmp_info.alpha_mask != 0 ? MagickTrue : MagickFalse;
- if ((bmp_info.number_colors != 0) || (bmp_info.bits_per_pixel < 16))
+ if ((bmp_info.number_colors != 0) && (bmp_info.bits_per_pixel < 16))
{
image->storage_class=PseudoClass;
image->colors=bmp_info.number_colors;