PDA

View Full Version : PDF Logo Quality Bad



thecubehost
01-26-10, 02:43 AM
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?

rldev
02-09-10, 06:40 PM
Any luck with this?

arivera71
02-09-10, 09:43 PM
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.

thecubehost
02-10-10, 12:04 AM
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.

The image is high quality when it is not on the PDF btw, And it is sent to 300DPI also.

arivera71
02-10-10, 04:10 AM
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.