From a8b980d186951e1b01eb9a15aafba1c8f7155421 Mon Sep 17 00:00:00 2001 From: mattpiwik Date: Thu, 16 Aug 2012 01:52:39 +0000 Subject: Fixes #3322 hopefully that was the only notice git-svn-id: http://dev.piwik.org/svn/trunk@6786 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- libs/tcpdf/tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/tcpdf/tcpdf.php b/libs/tcpdf/tcpdf.php index 24fe4fce15..5fe53978b6 100644 --- a/libs/tcpdf/tcpdf.php +++ b/libs/tcpdf/tcpdf.php @@ -7877,7 +7877,7 @@ class TCPDF { $img = new Imagick(); $img->readImage($file); // clone image object - $imga = $img->clone(); + $imga = @$img->clone(); // extract alpha channel $img->separateImageChannel(8); // 8 = (imagick::CHANNEL_ALPHA | imagick::CHANNEL_OPACITY | imagick::CHANNEL_MATTE); $img->negateImage(true); -- cgit v1.2.3