- Posts: 11
- Thank you received: 0
PDF invoice plugin - image quality
12 years 6 months ago #147829
by bastiaan
PDF invoice plugin - image quality was created by bastiaan
Hi,
I bought and installed the PDF invoice plugin.
I found out how to edit the template for the invoice.
When i insert an image the image quality gets "optimized" too much.
Can i edit the compression setting somewhere?
Hope you can help
Kind Regards,
Bastiaan
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.4.x
-- Browser(s) name and version -- : Chrome and Safari
I bought and installed the PDF invoice plugin.
I found out how to edit the template for the invoice.
When i insert an image the image quality gets "optimized" too much.
Can i edit the compression setting somewhere?
Hope you can help
Kind Regards,
Bastiaan
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.4.x
-- Browser(s) name and version -- : Chrome and Safari
Please Log in or Create an account to join the conversation.
12 years 6 months ago #147858
by nicolas
Replied by nicolas on topic PDF invoice plugin - image quality
Hi,
You can edit the file plugins/hikashop/attachinvoice/attachinvoice/_tcpdf_5.0.002/tcpdf.php and change the line:
The jpeg quality setting can go from 0 to 100.
You can edit the file plugins/hikashop/attachinvoice/attachinvoice/_tcpdf_5.0.002/tcpdf.php and change the line:
Code:
$this->jpeg_quality = 75;
The following user(s) said Thank You: bastiaan
Please Log in or Create an account to join the conversation.
12 years 6 months ago #147931
by bastiaan
Replied by bastiaan on topic PDF invoice plugin - image quality
Wow, that was hidden deep 
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds