Skip to content

Barcode Generated looks weird JPG,PNG #204

@Dxsoo96

Description

@Dxsoo96

Hey guys, does anyone ever meet this problem?
the barcode generated looks weird
barcode (2)
this is the code to generate it
$generator = new \Picqer\Barcode\BarcodeGeneratorJPG();
file_put_contents('media/barcode.jpg', $generator->getBarcode($invoice->getIncrementId(), $generator::TYPE_CODE_39, 1, 50, [0, 0, 0]));

It works normal on local but works weird on cloud env.
Please assist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions