• Resolved ronowe

    (@ronowe)


    Hello,
    I have problem with barcode generator. I use this PHP Snippet:
    echo WC_Order_Barcodes()->display_barcode($order_id);
    The barcode is generated but the rendering is with black rectangle.
    Ay suggestions?
    Link to screenshot

    • This topic was modified 7 years, 5 months ago by ronowe.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! We have seen this before, and unfortunately this is due to how the order barcodes plugin generates the image, which is not processed correctly by dompdf… The only solution I know is to stretch the barcode image vertically and put it in a div container that cuts off the black part… I’m sorry I don’t have a better solution for this!

Viewing 1 replies (of 1 total)

The topic ‘Barcode black render’ is closed to new replies.