PDF invoice plugin - image quality

  • Posts: 11
  • Thank you received: 0
10 years 8 months ago #147829

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

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 8 months ago #147858

Hi,

You can edit the file plugins/hikashop/attachinvoice/attachinvoice/_tcpdf_5.0.002/tcpdf.php and change the line:

$this->jpeg_quality = 75;
The jpeg quality setting can go from 0 to 100.

The following user(s) said Thank You: bastiaan

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 8 months ago #147931

Wow, that was hidden deep :)
Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum