mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-02-16 12:18:40 +00:00
test fixes + new test data
This commit is contained in:
parent
1fc65a38db
commit
78b589d3d8
|
|
@ -7090,6 +7090,14 @@ class TCPDF {
|
||||||
return $this->Image($tempfile_plain, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, false, $imgmask);
|
return $this->Image($tempfile_plain, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, false, $imgmask);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (\is_file($tempfile_plain)) {
|
||||||
|
\unlink($tempfile_plain);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (\is_file($tempfile_alpha)) {
|
||||||
|
\unlink($tempfile_alpha);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($newimage) {
|
if ($newimage) {
|
||||||
//First use of image, get info
|
//First use of image, get info
|
||||||
|
|
@ -7396,6 +7404,14 @@ class TCPDF {
|
||||||
$imgmask = $this->Image($tempfile_alpha, $x, $y, $w, $h, 'PNG', '', '', $resize, $dpi, '', true, false);
|
$imgmask = $this->Image($tempfile_alpha, $x, $y, $w, $h, 'PNG', '', '', $resize, $dpi, '', true, false);
|
||||||
// embed image, masked with previously embedded mask
|
// embed image, masked with previously embedded mask
|
||||||
$this->Image($tempfile_plain, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, false, $imgmask);
|
$this->Image($tempfile_plain, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, false, $imgmask);
|
||||||
|
|
||||||
|
if (\is_file($tempfile_plain)) {
|
||||||
|
\unlink($tempfile_plain);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (\is_file($tempfile_alpha)) {
|
||||||
|
\unlink($tempfile_alpha);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user