From 7a5750accdf5603fe64296f0989214413c623c0f Mon Sep 17 00:00:00 2001 From: louis Date: Mon, 16 Sep 2013 09:54:02 +0200 Subject: added fix for gradient in message display for newer imagemagick versions --- imageloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imageloader.c') diff --git a/imageloader.c b/imageloader.c index cc1f329..b57bcc4 100644 --- a/imageloader.c +++ b/imageloader.c @@ -192,7 +192,7 @@ void cImageLoader::DrawBackground2(tColor back, tColor blend, int width, int hei Color Back = Argb2Color(back); Color Blend = Argb2Color(blend); Image tmp(Geometry(width, height), Blend); - double arguments[9] = {0.0,(double)height,0.0,-0.5*(double)width,0.0,0.0,0.75*(double)width,0.0,1.0}; + double arguments[9] = {0.0,(double)height,0.0,-0.5*(double)width,0.0,0.0,(double)width,0.0,1.0}; tmp.sparseColor(MatteChannel, BarycentricColorInterpolate, 9, arguments); Image tmp2(Geometry(width, height), Back); tmp.composite(tmp2, 0, 0, OverlayCompositeOp); -- cgit v1.2.3