From: Dirk Lemstra Date: Fri, 16 Feb 2018 14:53:18 +0000 (+0100) Subject: Default color should be transparent. X-Git-Tag: 7.0.7-23~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1809f379506825b71ccc74655a9e80a9d204b3e7;p=imagemagick Default color should be transparent. --- diff --git a/Magick++/lib/Color.cpp b/Magick++/lib/Color.cpp index ae9b7834a..4e3bc7f6b 100644 --- a/Magick++/lib/Color.cpp +++ b/Magick++/lib/Color.cpp @@ -70,9 +70,11 @@ Magick::Color::Color(void) : _pixel(new PixelInfo), _isValid(false), _pixelOwn(true), - _pixelType(RGBPixel) + _pixelType(RGBAPixel) { initPixel(); + + quantumAlpha(TransparentAlpha); } Magick::Color::Color(const Magick::Quantum red_,const Magick::Quantum green_,