mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
Download PDF invoice Customers
This commit is contained in:
parent
5f353392e3
commit
0868d61271
5 changed files with 71 additions and 6 deletions
|
@ -87,7 +87,7 @@ class File
|
|||
$src_img = $image_create($source_file);
|
||||
imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $nwidth, $nheight, $width, $height);
|
||||
|
||||
$image($dst_img, $dst_dir, $quality);
|
||||
imagepng($dst_img, $dst_dir);
|
||||
|
||||
if ($dst_img) imagedestroy($dst_img);
|
||||
if ($src_img) imagedestroy($src_img);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue