Jump to content

PDF Logo Quality Bad


thecubehost

Recommended Posts

  • 2 weeks later...
Hey,

 

I am having a few problems because the logo quality in WHMCS for the PDF Invoices is really bad. The quality is fine when I view it in any normal picture viewer or in the browser though.

 

How can I fix this?

 

You have to make sure your PDF logo is at least 150 DPI or better 300 DPI. Images optimized for screens are only 72 DPI and they usually don't look good on paper.

Link to comment
Share on other sites

Here's my logo in the invoice.tpl file:

$pdf->Image(ROOTDIR.'/images/em_logo.png',20,25,100,0);

 

Also, I learned that it's more effective to use a png than jpg. What's the size of your image in pixels. My logo is 1615 px x 271 px at 150 DPI

 

The bigger the better. Also, a good test is if you can ZOOM (a lot) the part where the logo is in the pdf file and it doesn't pixelate, it should print ok.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated