fix(tcpdf): implicit conversion from float
This commit is contained in:
parent
bdaff375a1
commit
459f6eb529
1 changed files with 1 additions and 1 deletions
|
|
@ -7460,7 +7460,7 @@ class TCPDF
|
|||
$color = imagecolorat($img, $xpx, $ypx);
|
||||
// get and correct gamma color
|
||||
$alpha = $this->getGDgamma($img, $color);
|
||||
imagesetpixel($imgalpha, $xpx, $ypx, $alpha);
|
||||
imagesetpixel($imgalpha, $xpx, $ypx, (int)$alpha);
|
||||
}
|
||||
}
|
||||
imagepng($imgalpha, $tempfile_alpha);
|
||||
|
|
|
|||
Loading…
Reference in a new issue