[Skip to main content](#vessel-content)

#   PDF invoice plugin - image quality

##

- **[bastiaan](/forum/user/5662-bastiaan "View bastiaan's Profile")**
- [![bastiaan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5662-bastiaan "View bastiaan's Profile") Topic Author
- [ Offline](/forum/user/5662-bastiaan)

Less More

- Posts: 11
- Thank you received: 0
-
-

12 years 7 months ago [\#147829](#147829) by [bastiaan](/forum/user/5662-bastiaan "View bastiaan's Profile")  *[PDF invoice plugin - image quality](/forum/36-reports-statistics/866551-pdf-invoice-plugin-image-quality#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 &quot;optimized&quot; 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")* was created by *[bastiaan](/forum/user/5662-bastiaan "View bastiaan's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84NjY1NTEtcGRmLWludm9pY2UtcGx1Z2luLWltYWdlLXF1YWxpdHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

12 years 7 months ago [\#147858](#147858) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF invoice plugin - image quality](/forum/36-reports-statistics/866551-pdf-invoice-plugin-image-quality#147858 "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 &quot;optimized&quot; 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")*

Hi,

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

$this-&gt;jpeg_quality = 75;

The jpeg quality setting can go from 0 to 100.

The following user(s) said Thank You: [bastiaan](/forum/user/5662-bastiaan "View bastiaan's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84NjY1NTEtcGRmLWludm9pY2UtcGx1Z2luLWltYWdlLXF1YWxpdHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bastiaan](/forum/user/5662-bastiaan "View bastiaan's Profile")**
- [![bastiaan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5662-bastiaan "View bastiaan's Profile") Topic Author
- [ Offline](/forum/user/5662-bastiaan)

Less More

- Posts: 11
- Thank you received: 0
-
-

12 years 7 months ago [\#147931](#147931) by [bastiaan](/forum/user/5662-bastiaan "View bastiaan's Profile")  Replied by *[bastiaan](/forum/user/5662-bastiaan "View bastiaan's Profile")* on topic *[PDF invoice plugin - image quality](/forum/36-reports-statistics/866551-pdf-invoice-plugin-image-quality#147931 "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 &quot;optimized&quot; 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")*

Wow, that was hidden deep ![:)](/media/kunena/emoticons/3.png ":)")
Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84NjY1NTEtcGRmLWludm9pY2UtcGx1Z2luLWltYWdlLXF1YWxpdHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
