Jump to content

Logo in PDF invoice problem


Marin

Recommended Posts

I have a problem getting clear & crisp logo in the header of the PDF invoice file.

Whatever I tried to change (size, format, dpi) the logo comes out blurred and completely unprofessional.

 

I couldn't find any BEST PRACTICE tips for custom logo implementation so PLEASE give us some hints about how to get the fine looking logo in our PDF invoices.

 

Thank you and regads.

Link to comment
Share on other sites

the default pdf logo is called 'placeholder.png', it's 300px wide by 100px in height and is 24-bit - it's located in your 'images' directory inside WHMCS.

 

I wouldn't have thought there is a "best" size, that should really be determined by your business logo - so long as the actual size (width especially) matches the width specified in invoicepdf.tpl, it should look fine.

 

if your logo looks ok when viewed outside of the pdf, then it should look fine in the pdf (assuming dimensions match the tpl settings).

 

if it helps, when I created our invoice pdf logo, I just opened the placeholder.png in photoshop and didn't resize it at all - I added our existing logo as a transparent layer, removed the original layer, saved it as logo.png and uploaded to the server... just checked the logo and I saved it at 32-bit (though don't recall why!).

 

I would have thought that .png was the best format to use, but without seeing the logo, it's hard to say for certain.

Link to comment
Share on other sites

the size is important, well actually its not the size but the aspect ratio. You can make a larger logo if you want to very easily. Just grab the image brian mentioned and increase the size of it with the chain closed to keep the aspect ratio (photoshop, gimp etc). clear out the image and do your logo stuff. That way if whmcs resizes it you have already make it larger than it needs to be and the aspect ratio being correct should allow it to down size gracefully. i cant say as the clarity will be as good, that depends on how much resizing and the clarity of the original.

Link to comment
Share on other sites

  • 10 months later...

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