Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Logo blurred when printing invoice

  • Resolved Mick

    (@haarbollen)


    Hi

    I have had very few issues at all, plugin works perfect, even when modifying output.
    I have one issue though:
    When printed, the logo is very blurred. I have tried png-24, png-8, jpg and gif – and the result is almost the same (furthermore, I have tried in different sizes as well.
    Could there be one ‘standard size’ that shows better (not only widht, but height also) when printed?

    Thanks in advance

    Mick

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Mick,
    When trying the different logos, did you have “Test Mode” enabled? (otherwise you would be looking at the same logo all the time; the one that was active the first time you generated the invoice).
    Depending on whether your server has installed tools to handle/transform PNG images, JPG may actually provide the best result (even though PNG is technically more accurate).

    Could you provide a screenshot of the logo as shown in the PDF and also provide us with the source images so we can test on our end too?

    Lastly, note that how the logo is rendered can also be viewer dependent. It may look different in the browser than in Adobe reader for example.

    Thread Starter Mick

    (@haarbollen)

    Hi Ewout

    First of all, thanks for that immediate reply!

    Yes, I have “Test mode” enabled just to be able to see the changes I make.
    I have solved it, by uploading an image in res. 300 dpi, with 3000px height: 1800px and from that starting point, I made changes in stylesheet:

    td.header img {
    	max-height: 26mm !important; /* may be overriden by the settings */
    	width: auto !important;
    }

    Now it works perfect when printed.
    Thanks again

    Mick

    Plugin Contributor Ewout

    (@pomegranate)

    Glad to hear that Mick! Do note that the actual resolution of that image is now 1758dpi (1800px being printed on 26mm = 1.02 inch) which is much higher than I would recommend. For 300 dpi (which is considered the standard for printing) at 26mm height your image would be ~512 * 307px.

    Thread Starter Mick

    (@haarbollen)

    Thanks
    And yes, I considered that. But since we’re the only one who really have to print it, it doesn’t get heavier than okay 🙂

    Mick

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Logo blurred when printing invoice’ is closed to new replies.