-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't scan the ean 13 code #4
Comments
I think u r missing the last check Digit! |
I cannot get the barcode to create any suggestions would be really appreciated.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't scan the produced ean-13 barcode. This is my code:
`include 'barcode.php';
$format = 'png';
$symbology = 'ean-13-pad';
$data = '978020137963';
$options = '';
$generator = new barcode_generator();
$name = "test";
/* Create bitmap image. */
$image = $generator->render_image($symbology, $data, $options);
header( "Content-type: image/png" );
imagepng($image);
$save = strtolower($name) .".png";
chmod($save,0755);
imagepng($image, $save, 0, NULL);
imagedestroy($image);
`
The text was updated successfully, but these errors were encountered: