diff options
author | louis <louis.braun@gmx.de> | 2013-09-16 09:54:02 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-16 09:54:02 +0200 |
commit | 7a5750accdf5603fe64296f0989214413c623c0f (patch) | |
tree | 0c21c5f61db098a1e3a32f9ac99d7795905f2fa6 /imageloader.c | |
parent | 25d83725edb5e34c162f40e6d0140a205250079c (diff) | |
download | skin-nopacity-7a5750accdf5603fe64296f0989214413c623c0f.tar.gz skin-nopacity-7a5750accdf5603fe64296f0989214413c623c0f.tar.bz2 |
added fix for gradient in message display for newer imagemagick versions
Diffstat (limited to 'imageloader.c')
-rw-r--r-- | imageloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |