$imgmask = $this->Image($tempfile_alpha, $x, $y, $w, $h, 'PNG', '', '', $resize, $dpi, '', true, false); @unlink($tempfile_alpha); $this->Image($tempfile_plain, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, false, $imgmask); @unlink($tempfile_plain);
add unlink in ImagePngAlpha
tnx
I am unable to reproduce your issue.
Please be sure you are using the latest TCPDF version.
To file a bug please provide a simple test case to reproduce the issue.