PDF invoice plugin - image quality

  • Posts: 11
  • Thank you received: 0
10 years 7 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: 82683
  • Thank you received: 13337
  • MODERATOR
10 years 7 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 7 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.059 seconds
Powered by Kunena Forum