This patch makes ClanLib-0.4.3 compile with ImageMagick-5.1.1 I know it probably could be done i one ImageMagick call, but I don't know what the code was ment to do. diff -durN ClanLib-0.4.3.orig/Sources/Magick/provider_magick.cpp ClanLib-0.4.3/Sources/Magick/provider_magick.cpp --- ClanLib-0.4.3.orig/Sources/Magick/provider_magick.cpp Mon Mar 13 18:12:50 2000 +++ ClanLib-0.4.3/Sources/Magick/provider_magick.cpp Wed Apr 19 10:04:12 2000 @@ -138,12 +138,9 @@ height = image->rows; pitch = width * get_bytes_per_pixel(); - float *rdata = new float[width*height]; - float *gdata = new float[width*height]; - float *bdata = new float[width*height]; - float *adata = new float[width*height]; + float *rgbadata = new float[width*height*4]; - GetPixels(image, rdata, gdata, bdata, adata); + GetPixels(image, 0,0,width,height,"RGBA",FloatPixel,rgbadata); DestroyImage(image); // here comes the tricky part ... hmhmhm... Quicky Mart @@ -186,10 +183,10 @@ for (int y=0; y