From 1809f379506825b71ccc74655a9e80a9d204b3e7 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Fri, 16 Feb 2018 15:53:18 +0100 Subject: [PATCH] Default color should be transparent. --- Magick++/lib/Color.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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_, -- 2.40.0