Skip to content
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

RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. #337

Open
kirankandel opened this issue May 10, 2024 · 1 comment
Open

Comments

@kirankandel
Copy link

kirankandel commented May 10, 2024

Using method bwipjs.toBuffer(options, (err,png) => {})
I'm using options :

bcid: 'code39'
paddingheight: 7.760141093474427
paddingwidth: 7.760141093474427
width: 70.54673721340389
height: 35.27336860670194

bwip-js version : 4.3.2

@metafloor
Copy link
Owner

Padding values are integer points. I will update the code for the next release to enforce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants